Yes, will be never on 18.06...
should not be hard to back-port I hope, nginx+luci is pretty interesting indeed, as nginx can be piggybacked to other purposes and you don't need run two http servers in parallel.
Thanks! Jow etal. Works flawlessly on x86_64. Name based virt hosts (uhttpd cannot do) crucial for IOT apps such as https://www.mydomain/my_device_or_app. A real step forward for OpenWrt / LEDE
of course, things changed running under uwsqi, such as running an install script under luci which breaks a posrgresql install. Not sure how to debug this:
opkg install pgsql-server running as user postgresql: postgres:x:5432:5432:postgres:/var/run:/bin/ash daemon.info uwsgi: locale: not found daemon.info uwsgi: FATAL: could not load library "/usr/lib/postgresql/utf8_and_euc_kr.so": /usr/lib/postgresql/utf8_and_euc_kr.so: failed to map segment from shared object STATEMENT: -- EUC_KR --> UTF8 CREATE OR REPLACE FUNCTION euc_kr_to_utf8 (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$libdir/utf8_and_euc_kr', 'euc_kr_to_utf8' LANGUAGE C STRICT PARALLEL SAFE; COMMENT ON FUNCTION euc_kr_to_utf8(INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) IS 'internal convSat Aug 11 09:20:19 2018 daemon.info uwsgi: child process exited with exit code 1
Suspect that installing postgresql using luci packages menu (nginx) will have same results.
If this looks familiar to anyone, please toss me a bone
i've been following this thread for a while now, its an idea that i really can't wait to put on my Openwrt instance..
But i got confused in the last month.. should this now work in the latest stable version? "OpenWrt 18.06.1 r7258-5eb055306f"
Looking at the default opkg repos, there are some luci nginx packages available, but none of them seem to work out of the box?
Both of them fail because of missing dependencies(nginx-mod-luci, nginx-ssl, nginx-mod-luci-ssl)
Am i missing something?
Only trunk for now... No package should be present in stable
# cat /etc/os-release ; opkg find luci-ssl-nginx NAME="OpenWrt" VERSION="18.06.1" ID="openwrt" ID_LIKE="lede openwrt" PRETTY_NAME="OpenWrt 18.06.1" VERSION_ID="18.06.1" HOME_URL="http://openwrt.org/" BUG_URL="http://bugs.openwrt.org/" SUPPORT_URL="http://forum.lede-project.org/" BUILD_ID="r7258-5eb055306f" LEDE_BOARD="lantiq/xway" LEDE_ARCH="mips_24kc" LEDE_TAINTS="" LEDE_DEVICE_MANUFACTURER="OpenWrt" LEDE_DEVICE_MANUFACTURER_URL="http://openwrt.org/" LEDE_DEVICE_PRODUCT="Generic" LEDE_DEVICE_REVISION="v0" LEDE_RELEASE="OpenWrt 18.06.1 r7258-5eb055306f" luci-ssl-nginx - git-18.201.34715-c813598-1 - LuCI with OpenSSL as the SSL backend (libustream-openssl). OpenSSL cmd tools (openssl-util) are used by nginx for SSL key generation.
yeah, than there is something wrong with the current stable repo:
root@LEDE:~# cat /etc/os-release ; opkg find *nginx* NAME="OpenWrt" VERSION="18.06.1" ID="openwrt" ID_LIKE="lede openwrt" PRETTY_NAME="OpenWrt 18.06.1" VERSION_ID="18.06.1" HOME_URL="http://openwrt.org/" BUG_URL="http://bugs.openwrt.org/" SUPPORT_URL="http://forum.lede-project.org/" BUILD_ID="r7258-5eb055306f" LEDE_BOARD="mvebu/cortexa9" LEDE_ARCH="arm_cortex-a9_vfpv3" LEDE_TAINTS="" LEDE_DEVICE_MANUFACTURER="OpenWrt" LEDE_DEVICE_MANUFACTURER_URL="http://openwrt.org/" LEDE_DEVICE_PRODUCT="Generic" LEDE_DEVICE_REVISION="v0" LEDE_RELEASE="OpenWrt 18.06.1 r7258-5eb055306f" collectd-mod-nginx - 5.8.0-5 luci-nginx - git-18.201.34715-c813598-1 luci-ssl-nginx - git-18.201.34715-c813598-1 nginx - 1.12.2-1
@jow What branch of LuCI ended up in 18.06.1? Or did stuff get backported?
with latest commit you need to fix nginx configuration if modified...
trunk version, luci nginx backend works well except firewall statistics page.
Sat Sep 22 22:52:19 2018 daemon.info uwsgi: Sat Sep 22 22:52:19 2018 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 429] during GET /cgi-bin/luci/admin/status/iptables (192.168.1.3)
i can open the firewall statistics page correctly...
sometimes it gives error when the data to process is too much... a tweak to the body size could fix it but i don't really know... in theory uwsgi gives error in the same situation uhttpd would just keep the page load and never ends...
After updating openssl1.1.1, Nginx can't work?
mh no... i don't have this problem
A post was split to a new topic: LuCI on nginx installation
i assume there's no way to have luci-ssl-nginx on lede 17, isn't it?
You could try to self-build it, changing the feeds, then fixing any problems. Given that v17 is imminently EOL, and v18 is entering "maintenance-only" mode, that seems like a lot of work with only very short-term gains.
I know i know, i usually use a recent master, but the nss drivers are so much faster on my r7800..
I am successfully using luci-nginx-ssl on 18.06.4, it's working pretty well on my ath79. Is there an mbed-tls version in the works? I think it would have a little bit better performance on my target.
No, nginx doesn't support mbedtls unfortunately.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.