X-Git-Url: https://plomlompom.com/repos/todo?a=blobdiff_plain;f=all_new_2018%2Flinkable_etc_files%2Fweb%2Fetc%2Fnginx%2Fnginx.conf;h=aec76225291cdd4cd365b90a7141f68ab2ff1cd4;hb=ed70f670e0aa29022aa9fbab587e7638ad3a3ce2;hp=798d791f0ff88d62e483170d83af765b86462de2;hpb=c82534c380e9e41eb501d257c3237052decf97db;p=config diff --git a/all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf b/all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf index 798d791..aec7622 100644 --- a/all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf +++ b/all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf @@ -3,6 +3,9 @@ user www-data; 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; + # is expected even if empty events { } @@ -64,14 +67,18 @@ http { fastcgi_pass unix:/var/run/fcgiwrap.socket; } + # login-protected IRC logs location ~ /irclogs/([^/]+)/ { auth_basic "$1 logs"; auth_basic_user_file /var/www/irclogs_pw/$1; autoindex on; } - location /irclogs/ { - autoindex on; - } + ## entry for IRC logs + #location /irclogs/ { + # autoindex on; + # autoindex_format xml; + # xslt_stylesheet /var/www/autoindex.xslt; + #} } }