Change port of OnionOS webserver
-
Can I change the port for the OnionOS webserver?
From 80 to something else?
-
I changed the port in uhttpd but got the log in page but was not able to log in.
-
After any reconfiguration web-server you should restart it using command /etc/init.d/uhttpd restart
Config files don't reload automatically.
-
@JohnnyPicnic The issue is that the OnionOS uses UBUS to log you in but the javascript used on the pages does not refer to the configured port. So while the web server is serving pages on the port you configured, the javascript is assuming ubus is on the standard port 80. The solution would be to edit the javascript which in /www