X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fcyclo-www%2Fsite.conf;h=d8bbcc8598ab323051b2849c7b480e9fa88dfbfc;hb=e77a454ce713dde6eaec17043e756104e9fb5ecc;hp=308d38f05b63b77128c43cfa6957f9040210d4e4;hpb=c97e10b2504a559b023d5b14c46f337f0ee95027;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/cyclo-www/site.conf b/etc/nginx/site.d/cyclo-www/site.conf index 308d38f..d8bbcc8 100644 --- a/etc/nginx/site.d/cyclo-www/site.conf +++ b/etc/nginx/site.d/cyclo-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,7 +16,7 @@ location ~ /\. { deny all; log_not_found off; } - location ~ \.php(|/.+)$ { +location ~ \.php(|/.+)$ { include /etc/nginx/conf.d/fastcgi.conf; set $no_cache "0"; if ($request_method !~ ^(GET|HEAD)$) {