From Cobalt Marmoset, 3 Weeks ago, written in Plain Text.
  1. server.modules = (
  2.         "mod_access",
  3.         "mod_alias",
  4.         "mod_compress",
  5.         "mod_redirect",
  6. )
  7.  
  8. server.document-root        = "/var/www/html"
  9. server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
  10. server.errorlog             = "/var/log/lighttpd/error.log"
  11. server.pid-file             = "/run/lighttpd.pid"
  12. server.username             = "www-data"
  13. server.groupname            = "www-data"
  14. server.port                 = 443
  15. ssl.engine                  = "enable"
  16. ssl.pemfile                 = "/etc/lighttpd/certs/lighttpd.pem"
  17.  
  18. index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
  19. url.access-deny             = ( "~", ".inc" )
  20. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  21.  
  22. compress.cache-dir          = "/var/cache/lighttpd/compress/"
  23. compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
  24.  
  25. # default listening port for IPv6 falls back to the IPv4 port
  26. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  27. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  28. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  29.  
captcha