Getting lighttpd to bind to multiple address/socket

No Comments

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" {}

Be the first to write a comment!