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.

36 lines
1.3 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.h2proto" => "enable")
  14. server.feature-flags += ("server.h2c" => "enable")
  15. server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
  16. #server.feature-flags += ("server.graceful-restart-bg" => "enable")
  17. ### Options that are useful but not always necessary:
  18. #server.chroot = "/"
  19. #server.port = 81
  20. #server.bind = "localhost"
  21. #server.tag = "lighttpd"
  22. #server.errorlog-use-syslog = "enable"
  23. #server.network-backend = "writev"
  24. ### Use IPv6 if available
  25. #include_shell "/usr/share/lighttpd/use-ipv6.pl"
  26. #dir-listing.encoding = "utf-8"
  27. #server.dir-listing = "enable"
  28. include "/etc/lighttpd/mime.conf"
  29. include "/etc/lighttpd/conf.d/*.conf"