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 {
}
fastcgi_param GITWEB_CONFIG /etc/gitweb.conf;
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;
+ }
+
+ ## entry for IRC logs
+ #location /irclogs/ {
+ # autoindex on;
+ # autoindex_format xml;
+ # xslt_stylesheet /var/www/autoindex.xslt;
+ #}
}
}