SHARE
TWEET

Untitled

a guest May 26th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server.document-root        = "/opt/share/www"
  2. server.upload-dirs          = ( "/opt/tmp" )
  3. server.errorlog             = "/opt/var/log/lighttpd/error.log"
  4. server.pid-file             = "/opt/var/run/lighttpd.pid"
  5. #server.username             = "http"
  6. #server.groupname            = "www-data"
  7.  
  8. index-file.names            = ( "index.php", "index.html",
  9.                                 "index.htm", "default.htm",
  10.                               )
  11.  
  12. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  13.  
  14. ### Options that are useful but not always necessary:
  15. #server.chroot               = "/"
  16. server.port                 = 443
  17. #server.bind                 = "localhost"
  18. #server.tag                  = "lighttpd"
  19. #server.errorlog-use-syslog  = "enable"
  20. #server.network-backend      = "writev"
  21.  
  22. ### Use IPv6 if available
  23. #include_shell "/opt/share/lighttpd/use-ipv6.pl"
  24.  
  25. #dir-listing.encoding        = "utf-8"
  26. #server.dir-listing          = "enable"
  27.  
  28. include "/opt/etc/lighttpd/mime.conf"
  29. include "/opt/etc/lighttpd/conf.d/*.conf"
  30.  
  31. $SERVER["socket"] == "192.168.1.1:443" {
  32.   ssl.engine = "enable"
  33.   ssl.pemfile = "/opt/etc/lighttpd/certs/lighttpd.pem"
  34. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top