Luci-nginx not work on 21.02

Hello!

Trying to replace uhttpd with nginx. I has removed uhttpd and dependencies and install luci-nginx:

# opkg list-installed | grep nginx
luci-nginx - git-21.077.73862-d7568b4
luci-ssl-nginx - git-21.077.73862-d7568b4
nginx - 1.19.6-1
nginx-mod-luci - 1.19.6-1
nginx-mod-luci-ssl - 1.19.6-1
nginx-ssl - 1.19.6-1
nginx-ssl-util - 1.5-1
nginx-util - 1.5-1

and uwsgi

# opkg list-installed | grep uw
uwsgi - 2.0.19.1-1
uwsgi-cgi-plugin - 2.0.19.1-1
uwsgi-logfile-plugin - 2.0.19.1-1
uwsgi-luci-support - 2.0.19.1-1
uwsgi-syslog-plugin - 2.0.19.1-

and luci

# opkg list-installed | grep luci
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
luci-app-firewall - git-21.077.73862-d7568b4
luci-app-ledtrig-usbport - git-21.077.73862-d7568b4
luci-app-opkg - git-21.077.73862-d7568b4
luci-base - git-21.077.73862-d7568b4
luci-compat - git-21.077.73862-d7568b4
luci-lib-base - git-21.077.73862-d7568b4
luci-lib-ip - git-21.077.73862-d7568b4
luci-lib-ipkg - git-21.077.73862-d7568b4
luci-lib-jsonc - git-21.077.73862-d7568b4
luci-lib-nixio - git-21.077.73862-d7568b4
luci-mod-admin-full - git-21.077.73862-d7568b4
luci-mod-network - git-21.077.73862-d7568b4
luci-mod-status - git-21.077.73862-d7568b4
luci-mod-system - git-21.077.73862-d7568b4
luci-nginx - git-21.077.73862-d7568b4
luci-proto-ipv6 - git-21.077.73862-d7568b4
luci-proto-ppp - git-21.077.73862-d7568b4
luci-ssl-nginx - git-21.077.73862-d7568b4
luci-theme-bootstrap - git-21.077.73862-d7568b4
luci-theme-openwrt-2020 - git-21.077.73862-d7568b4
nginx-mod-luci - 1.19.6-1
nginx-mod-luci-ssl - 1.19.6-1
rpcd-mod-luci - 20201107
uwsgi-luci-support - 2.0.19.1-1

but luci not work. Nginx work and redirect HTTP requests to HTTPS and then say: ERR_CONNECTION_REFUSED

uwsgi is launched:

# ps w | grep uw
26488 root      2256 S    /usr/sbin/uwsgi --ini /etc/uwsgi/emperor.ini

and sockets are exists:

# ls -l /var/run/*.socket
srw-rw-rw-    1 root     root             0 Apr 22 11:52 /var/run/luci-cgi_io.socket
srw-rw-rw-    1 root     root             0 Apr 22 11:52 /var/run/luci-webui.socket

I can't enable login in nginx :frowning: I has set in nginx config:

        option access_log 'logd openwrt'
        option error_log 'logd'

but in logread only next: Thu Apr 22 11:58:11 2021 daemon.info nginx_init: using /etc/nginx/uci.conf (the test is ok)
only one line :frowning:

HELP! :frowning:

anything listening on port 443 ?

is this on the LAN side, or WAN ?

:man_facepalming: nginx work correctly. and can reply. And yes - is listening 443 and 80.
I think not work uwsgi, but no Logs and no Warnings or Errors :frowning: