luci icon indicating copy to clipboard operation
luci copied to clipboard

luci-nginx: non `-ssl` version still enables SSL?

Open ysc3839 opened this issue 1 year ago • 1 comments

Steps to reproduce:

  1. Using latest snapshot image
  2. opkg install luci-nginx
  3. Open http://<device-ip> in browser

Actual behavior:

Redirected to https://<device-ip>, and browser warns invalid certificate

Expected behavior:

Load http:// page normally.

Additional Information:

OpenWrt version information from system /etc/openwrt_release

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r25659-004eac14ab'
DISTRIB_TARGET='armsr/armv8'
DISTRIB_ARCH='aarch64_generic'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r25659-004eac14ab'
DISTRIB_TAINTS=''
# opkg depends nginx-mod-luci
nginx-mod-luci depends on:
	libc
	uwsgi
	uwsgi-luci-support
	nginx-ssl
	nginx-mod-ubus

nginx-mod-luci depends on nginx-ssl. Is this an expected behavior?

ysc3839 avatar Mar 25 '24 09:03 ysc3839

nginx-mod-luci is actually part of openwrt/packages so I guess you should report the issue there instead? If that's what you're suspecting is configured incorrect. I've never used that package myself so can't give any guidance on if it's expected behavior or not.

dannil avatar Mar 27 '24 18:03 dannil

Upstream forcibly enables SSL support in nginx, there's no way to provide non-ssl variants of it anymore.

jow- avatar Apr 20 '24 21:04 jow-