Correction : nginx : échappement regexp.
[lhc/ateliers.git] / etc / nginx / site.d / lhc-remorque / site.conf
index e8010a4..e85663a 100644 (file)
@@ -3,7 +3,7 @@ server_name
  ra.heureux-cyclage.org;
 
 auth_basic "pour demander un compte: admin@heureux-cyclage.org";
-auth_basic_user_file /home/www/pub/lhc-remorque/.htpasswd;
+auth_basic_user_file /home/www/data/lhc-remorque/.htpasswd;
 client_body_buffer_size 8k;
 client_max_body_size 10m;
 
@@ -50,7 +50,7 @@ location ~ ^/gitweb($|/) {
 location / {
        index index.xhtml;
  }
-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;