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;
deny all;
log_not_found off;
}
+location ~ ^/julm/public/ {
+ auth_basic off;
+ }
location ~ ^/julm/ {
auth_basic "ni dieu, ni maitre, ni moteur";
auth_basic_user_file /home/www/data/cyclocamp-www/julm/.htpasswd;