You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.2 KiB

  1. server.document-root = "/www"
  2. server.upload-dirs = ( "/tmp" )
  3. server.errorlog = "/var/log/lighttpd/error.log"
  4. server.pid-file = "/var/run/lighttpd.pid"
  5. server.username = "http"
  6. server.groupname = "www-data"
  7. index-file.names = ( "index.php", "index.html",
  8. "index.htm", "default.htm",
  9. )
  10. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  11. ### Features
  12. #https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_feature-flagsDetails
  13. server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
  14. #server.feature-flags += ("server.graceful-restart-bg" => "enable")
  15. ### Options that are useful but not always necessary:
  16. #server.chroot = "/"
  17. #server.port = 81
  18. #server.bind = "localhost"
  19. #server.tag = "lighttpd"
  20. #server.errorlog-use-syslog = "enable"
  21. #server.network-backend = "writev"
  22. ### Use IPv6 if available
  23. #include_shell "/usr/share/lighttpd/use-ipv6.pl"
  24. #dir-listing.encoding = "utf-8"
  25. #server.dir-listing = "enable"
  26. include "/etc/lighttpd/mime.conf"
  27. include "/etc/lighttpd/conf.d/*.conf"