Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server.document-root = "/opt/share/www"
- server.upload-dirs = ( "/opt/tmp" )
- server.errorlog = "/opt/var/log/lighttpd/error.log"
- server.pid-file = "/opt/var/run/lighttpd.pid"
- #server.username = "http"
- #server.groupname = "www-data"
- index-file.names = ( "index.php", "index.html",
- "index.htm", "default.htm",
- )
- static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
- ### Options that are useful but not always necessary:
- #server.chroot = "/"
- server.port = 443
- #server.bind = "localhost"
- #server.tag = "lighttpd"
- #server.errorlog-use-syslog = "enable"
- #server.network-backend = "writev"
- ### Use IPv6 if available
- #include_shell "/opt/share/lighttpd/use-ipv6.pl"
- #dir-listing.encoding = "utf-8"
- #server.dir-listing = "enable"
- include "/opt/etc/lighttpd/mime.conf"
- include "/opt/etc/lighttpd/conf.d/*.conf"
- $SERVER["socket"] == "192.168.1.1:443" {
- ssl.engine = "enable"
- ssl.pemfile = "/opt/etc/lighttpd/certs/lighttpd.pem"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement