So I was messing around a bit with nginx on my openwrt one router, nothing that should’ve affected uHTTPd but now I don’t get redirected to the LuCI web interface from 192.168.1.1/

I’ve stopped and disabled nginx, checked the configs and I can’t find anything out of the ordinary, maybe I’m blind.

cat /etc/config/uhttpd:

config uhttpd 'main'
	list listen_http '0.0.0.0:80'
	list listen_http '[::]:80'
	list listen_https '0.0.0.0:443'
	list listen_https '[::]:443'
	option redirect_https '0'
	option home '/www'
	option rfc1918_filter '1'
	option max_requests '3'
	option max_connections '100'
	option cert '/etc/uhttpd.crt'
	option key '/etc/uhttpd.key'
	option cgi_prefix '/cgi-bin'
	list lua_prefix '/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua'
	option script_timeout '60'
	option network_timeout '30'
	option http_keepalive '20'
	option tcp_keepalive '1'
	option ubus_prefix '/ubus'

config cert 'defaults'
	option days '397'
	option key_type 'ec'
	option bits '2048'
	option ec_curve 'P-256'
	option country 'ZZ'
	option state 'Somewhere'
	option location 'Unknown'
	option commonname 'OpenWrt'

Should I look anywhere else? I can live with this but I would really like to know the reason for the change.

Maybe it’s worth mentioning that I ran chmod -R 777 /www and maybe that’s the cause? I reverted it to 755 but no change. I don’t see how that would affect it either way though.