X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-wiklou%2Fsite.conf;h=f0dadc49a773e5dd3ef3ed0bf688525eb11a6b19;hp=7443e678764f410257f42cefaa99f5c734a76408;hb=6a5dc20807ccf237d131bd2231d0c0c345504428;hpb=865d9029c1113acde6b5c300c75f727fa68cdfea diff --git a/etc/nginx/site.d/lhc-wiklou/site.conf b/etc/nginx/site.d/lhc-wiklou/site.conf index 7443e67..f0dadc4 100644 --- a/etc/nginx/site.d/lhc-wiklou/site.conf +++ b/etc/nginx/site.d/lhc-wiklou/site.conf @@ -19,4 +19,9 @@ location ~ \.php$ { fastcgi_pass unix:/run/php5/fpm/lhc_wiklou; } +location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { + try_files $uri /index.php; + expires max; + log_not_found off; +} # vim: ft=sh