[SOLVED] Changing lighthttpd port not working anymore after update from TOS 5 to 6

Since the update of TOS from 5 to 6 I’m trying to run lighthttpd on port 81 and https on port 4443 as I have a nginx running at ports 80 & 443.

The method I used and described here Turris as a webserver [Turris wiki] doesn’t work anymore. The lighthttpd.conf still contains
server.port = 81
$SERVER[“socket”] == “[::]:81” { }

I also tried changing 90-turris-root.conf and set socket to 81. I even tried modifying /etc/init.d/lighthttpd and change the mdns entries there but still without success.

The only way atm to access turris/luci is to stop nginx and start lighthttpd and when finished do the reverse actions as I need nginx to access my internal hosts like xxxx.shadowsrealm.ch

Any ideas on how to set lighthttpd ports in TOS 6?

It seems that “server.port” is ignored in new lighthttpd I took the settings from 990-turris-root.conf and added
$SERVER["socket"] == "*:81" { }
to lighthttpd.conf

This solved the problem and lighthttpd is now running on port :81 and :4443 (after changing 40-ssl-enable.conf to port 4443)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.