Lighttpd绑定一个端口一般都是下面的方法. 备忘一下.
server.port = 80
如果需要绑定多个端口, 可以这样.
$SERVER["socket"] == "0.0.0.0:82" { server.document-root = "/oldyzzt_s2/webroot/game/" } $SERVER["socket"] == "0.0.0.0:83" { server.document-root = "/oldyzzt_s3/webroot/game/" }
时间: 2024-12-25 19:54:35