jvcgpt / lighttpd.conf
Greums's picture
use lighttpd instead of caddy
ba3bec2
raw
history blame
438 Bytes
server.modules = ( "mod_alias", "mod_rewrite" )
server.document-root = "/var/www/html"
server.port = 7860
# Redirect all requests to index.html
url.rewrite-if-not-file = ( ".*" => "/index.html" )
# Enable compression
server.modules += ( "mod_compress" )
deflate.mimetypes = ( "text/plain", "text/html", "text/javascript", "text/css", "application/javascript", "application/json" )
# Set index file
index-file.names = ( "index.html" )