improved lighttpd configuration
Browse files- lighttpd.conf +1 -2
lighttpd.conf
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
server.modules = ( "
|
2 |
|
3 |
server.document-root = "/var/www/html"
|
4 |
server.port = 7860
|
@@ -7,7 +7,6 @@ server.port = 7860
|
|
7 |
url.rewrite-if-not-file = ( ".*" => "/index.html" )
|
8 |
|
9 |
# Enable compression
|
10 |
-
server.modules += ( "mod_compress" )
|
11 |
deflate.mimetypes = ( "text/plain", "text/html", "text/javascript", "text/css", "application/javascript", "application/json" )
|
12 |
|
13 |
# Set index file
|
|
|
1 |
+
server.modules = ( "mod_rewrite", "mod_compress" )
|
2 |
|
3 |
server.document-root = "/var/www/html"
|
4 |
server.port = 7860
|
|
|
7 |
url.rewrite-if-not-file = ( ".*" => "/index.html" )
|
8 |
|
9 |
# Enable compression
|
|
|
10 |
deflate.mimetypes = ( "text/plain", "text/html", "text/javascript", "text/css", "application/javascript", "application/json" )
|
11 |
|
12 |
# Set index file
|