X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fcyclocamp-www%2Fsite.conf;h=2e7e630c032b894ed8adcb250f5a27c3e3749838;hb=59d4e2226270e740507a75d7277212105761c370;hp=dd3a20c8e5a9510a9b104f7038682ea401647980;hpb=2331c014f6dd2e977b367cc5d4e9747cb14d37d2;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/cyclocamp-www/site.conf b/etc/nginx/site.d/cyclocamp-www/site.conf index dd3a20c..2e7e630 100644 --- a/etc/nginx/site.d/cyclocamp-www/site.conf +++ b/etc/nginx/site.d/cyclocamp-www/site.conf @@ -6,7 +6,7 @@ server_name location / { index index.html index.htm index.php; } -location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ { +location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ { access_log off; expires 30d; log_not_found off; @@ -16,9 +16,12 @@ location ~ /\. { deny all; log_not_found off; } -location ~ ^/julm/2013-printemps/ { +location ~ ^/julm/public/ { + auth_basic off; + } +location ~ ^/julm/ { auth_basic "ni dieu, ni maitre, ni moteur"; - auth_basic_user_file /home/www/pub/cyclocamp-www/julm/2013-printemps/.htpasswd; + auth_basic_user_file /home/www/data/cyclocamp-www/julm/.htpasswd; } # vim: ft=sh