X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=all_new_2018%2Flinkable_etc_files%2Fweb%2Fetc%2Fnginx%2Fnginx.conf;h=411aa4b8f84d52a70fecdfa376d067984def9c23;hb=9f911349477be35286ddafd553a500806325dca6;hp=fa1f106e6bcb8209a685b3fcb4025183fd12813c;hpb=cf999e4d2f8b8bd04ae908f2988bbba867e5c45e;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 fa1f106..411aa4b 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 @@ -64,7 +64,13 @@ http { fastcgi_pass unix:/var/run/fcgiwrap.socket; } - location /irclogs/plomlompomtest/ { + location /irclogs/([^/]+)/ { + auth_basic "$1 logs"; + auth_basic_user_file /var/www/irclogs_pw/$1; + autoindex on; + } + + location /irclogs/ { autoindex on; } }