top

Getting lighttpd to bind to multiple address/socket

For nginx and apache, you can just specify multiple Listen statements. For lighttpd however, you need to do it a little bit differently.

You need to make sure to specify the port for the 2nd "bind":

server.bind		   = "1.2.3.4"
$SERVER["socket"] == "2.3.4.5:80" {}

0 Responses to Getting lighttpd to bind to multiple address/socket

Leave a Reply

Mail will not be published