Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
340 stars 52 forks source link

HTTPS REDIRECT GUI BUG #1172

Open Vorshim92 opened 8 months ago

Vorshim92 commented 8 months ago

Hi there!

Is there a way to disable HTTPS REDIRECT from some configuration file via SSH? Because after enabling it, I can no longer access the router. I only have the LUCI page on :9080. someone told me this "If you have installed LuCI, stop it with /etc/init.d/uhttpd stop. Then, run /etc/init.d/nginx restart and access it with your browser at http://192.168.1.254:9080/. Deselect HTTPS, set the port back to 80 in the configuration, and restart both Nginx and uhttpd." but it's not working. any idea?

antoniohassio commented 1 month ago

Any news on this bug? I faced the same issue

FrancYescO commented 1 month ago

the uci checked path is uci.web.sessionmgr.@default.force_https

so to restore via ssh is something like

uci set web.sessionmgr.@default.force_https=0
uci commit

or just manually edit /etc/config/web file finding for force_https

PS. please report firmware/device details