X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fcyclocamp-www%2Fsite.conf;h=ddd94d5d8b35f93a1dd3e3dbf699ba9cc6d45677;hb=e77a454ce713dde6eaec17043e756104e9fb5ecc;hp=1ddfc83042b6eccd672f772692f4481070f2b753;hpb=18013c236945db2ca16f6a19aab7e67c3dcdfd9b;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 1ddfc83..ddd94d5 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,9 @@ location ~ /\. { deny all; log_not_found off; } -location ~ ^/2013-printemps/ { +location ~ ^/julm/ { auth_basic "ni dieu, ni maitre, ni moteur"; - auth_basic_user_file /home/www/pub/cyclocamp-www/2013-printemps/.htpasswd; + auth_basic_user_file /home/www/data/cyclocamp-www/julm/.htpasswd; } # vim: ft=sh