home · contact · privacy
Add setup for play.plomlompom.com
[config] / all_new_2018 / linkable_etc_files / web / etc / nginx / nginx.conf
index adb2cc1cc559ccff45803af5366bd099a6399058..f1be9e63b3510ed218e95ab94294dbfb507aad28 100644 (file)
@@ -4,7 +4,7 @@ worker_processes auto;
 pid /run/nginx.pid;
 
 # we need this for the xslt_stylesheet directive below
-load_module modules/ngx_http_xslt_filter_module.so;
+#load_module modules/ngx_http_xslt_filter_module.so;
 
 # is expected even if empty
 events {
@@ -16,7 +16,7 @@ http {
         text/html html htm shtml;
         text/css css;
         text/xml xml;
-        text/plain txt sh rst md;
+        text/plain txt sh rst md asc;
         application/xhtml+xml xhtml;
         application/pdf pdf;
         image/jpeg jpg jpeg;
@@ -74,11 +74,11 @@ http {
             autoindex on;
         }
 
-        # entry for IRC logs
-        location /irclogs/ {
-            autoindex on;
-            autoindex_format xml;
-            xslt_stylesheet /var/www/autoindex.xslt
-        }
+        ## entry for IRC logs
+        #location /irclogs/ {
+        #    autoindex on;
+        #    autoindex_format xml;
+        #    xslt_stylesheet /var/www/autoindex.xslt;
+        #}
     }
 }