From: Christian Heller Date: Thu, 13 Dec 2018 21:28:57 +0000 (+0100) Subject: Fix irclogs location matching in nginx conf. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/day?a=commitdiff_plain;h=c82534c380e9e41eb501d257c3237052decf97db;p=config Fix irclogs location matching in nginx conf. --- 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 411aa4b..798d791 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,7 @@ http { fastcgi_pass unix:/var/run/fcgiwrap.socket; } - location /irclogs/([^/]+)/ { + location ~ /irclogs/([^/]+)/ { auth_basic "$1 logs"; auth_basic_user_file /var/www/irclogs_pw/$1; autoindex on;