Project

General

Profile

Actions

server.bind option

Description

IP address, hostname, or absolute path to the unix-domain socket the server listen on.

Example:

server.bind = "127.0.0.1" 
server.bind = "www.example.org" 
server.bind = "/tmp/lighttpd.socket" 
Default: bind to all interfaces (IPv4 by default, IPv6 if you enable IPv6 with server.use-ipv6)

For unix-domain sockets, server.socket-perms may be used to set the permissions of the created socket.

Example:

server.bind          = "/run/lighttpd.socket" 
server.socket-perms  = "0770" 

See Also

Updated by zeault 10 months ago · 7 revisions