Advertisement
TylerB

Untitled

Jun 19th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.04 KB | None | 0 0
  1. server.modules = (
  2.     "mod_access",
  3.     "mod_alias",
  4.     "mod_compress",
  5.     "mod_redirect",
  6.     "mod_proxy",
  7. )
  8.  
  9. server.document-root        = "/var/www/"
  10. server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
  11. server.errorlog             = "/var/log/lighttpd/error.log"
  12. server.pid-file             = "/var/run/lighttpd.pid"
  13. server.username             = "www-data"
  14. server.groupname            = "www-data"
  15. server.port                 = 80
  16.  
  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"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement