Guest User

Untitled

a guest
Jan 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. server.modules = (
  2. "mod_access",
  3. "mod_alias",
  4. "mod_compress",
  5. "mod_redirect",
  6. "mod_rewrite",
  7. "mod_proxy"
  8. )
  9.  
  10. server.port = 80
  11.  
  12. server.document-root = "/var/www"
  13. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  14. server.errorlog = "/var/log/lighttpd/error.log"
  15. server.pid-file = "/var/run/lighttpd.pid"
  16. server.username = "www-data"
  17. server.groupname = "www-data"
  18.  
  19. index-file.names = ( "index.php", "index.html",
  20. "index.htm", "default.htm",
  21. " index.lighttpd.html" )
  22.  
  23. url.access-deny = ( "~", ".inc" )
  24.  
  25. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  26.  
  27. setenv.add-response-header = ("P3P" => "CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"")
  28.  
  29. accesslog.filename = "/var/log/lighttpd.log"
  30.  
  31. ## Use ipv6 if available
  32. #include_shell "/usr/share/lighttpd/use-ipv6.pl"
  33.  
  34. dir-listing.encoding = "utf-8"
  35. server.dir-listing = "enable"
  36.  
  37. compress.cache-dir = "/var/cache/lighttpd/compress/"
  38. compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" )
  39.  
  40. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  41. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  42.  
  43. $HTTP["host"] =~ "msnfbquiz.lambda.neopoly.de" {
  44. server.errorfile-prefix = "/home/jh/devel/msnfbquiz/public/"
  45. server.document-root = "/home/jh/devel/msnfbquiz/public/"
  46.  
  47. $HTTP["url"] =~ ".*" {
  48. proxy.server = (
  49. "/" => (("host" => "127.0.0.1", "port" => 3006)),
  50. )
  51. }
  52. }
Add Comment
Please, Sign In to add comment