X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-www%2Fsite.conf;h=7ed7d1720f1c102ffcb77bce98e5aa8adfa08b1f;hp=158a7a8a8e94b76e635ec326c84a049734754ea1;hb=e77a454ce713dde6eaec17043e756104e9fb5ecc;hpb=b7595a000cae850e0702938336ce116376bc7d67 diff --git a/etc/nginx/site.d/lhc-www/site.conf b/etc/nginx/site.d/lhc-www/site.conf index 158a7a8..7ed7d17 100644 --- a/etc/nginx/site.d/lhc-www/site.conf +++ b/etc/nginx/site.d/lhc-www/site.conf @@ -5,7 +5,7 @@ client_max_body_size 10m; 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; @@ -37,7 +37,6 @@ location ~ \.php$ { fastcgi_cache_valid 404 10m; fastcgi_ignore_headers Cache-Control Expires Set-Cookie; fastcgi_index index.php; - fastcgi_max_temp_file_size 2M; fastcgi_no_cache $no_cache; fastcgi_param REDIRECT_STATUS 200; # NOTE: PHP only, required if PHP was built with --enable-force-cgi-redirect @@ -45,7 +44,7 @@ location ~ \.php$ { fastcgi_pass_header Set-Cookie; fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/run/php5/fpm/lhc-www; + fastcgi_pass unix:/run/php5/fpm/lhc_www; } # vim: ft=sh