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 {
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;
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;
+ #}
}
}