Last active
December 10, 2015 20:08
-
-
Save dimisdas/4486391 to your computer and use it in GitHub Desktop.
Lighttpd default configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Lighttpd Configuration File ## | |
# Default Document Root | |
# This is the site that the server will revert to incase of an unknown Virtual Host | |
server.document-root = "/var/www/" | |
server.modules = ( | |
"mod_access", | |
"mod_accesslog", | |
"mod_fastcgi", | |
"mod_rewrite", | |
"mod_auth" | |
) | |
# Listening Port | |
server.port = 80 | |
# Lighttpd User and Group | |
server.username = "lighttpd" | |
server.groupname = "lighttpd" | |
# Acceptable Mime types | |
mimetype.assign = ( | |
".html" => "text/html", | |
".txt" => "text/plain", | |
".jpg" => "image/jpeg", | |
".png" => "image/png" | |
) | |
static-file.exclude-extensions = (".fcgi", ".php", ".rb", "~", ".inc") | |
index-file.names = ("index.html", "index.php") | |
fastcgi.server = ( ".php" => (( | |
"bin-path" => "/usr/bin/php-cgi", | |
"socket" => "/tmp/php.socket" | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment