Modifications : etc/nginx/site.d/lhc-wiklou/site.conf
[lhc/ateliers.git] / etc / nginx / site.d / lhc-wiklou / site.conf
index 7443e67..f0dadc4 100644 (file)
@@ -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