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¶
- How do I bind to more than one address?
- IPv4 mapped addresses for problems with addresses like "::ffff:" in your access.log if you enabled IPv6 (debian enables IPv6 by default for lighty)
- IPv6-Config IPv6 configuration
- #509: server.bind problems with BSD and listening on dual IPv4 and IPv6 addresses
Updated by zeault 10 months ago · 7 revisions