Modifications: etc/nsd3/zone.d/wiklou.org.zone.m4
[lhc/ateliers.git] / etc / nginx / site.d / lhc-wiklou / site.conf
index 7443e67..55e80de 100644 (file)
@@ -1,5 +1,4 @@
 server_name
-    devel.wiklou.org
     wiklou.heureux-cyclage.org
     wiklou.org
     www.wiklou.org;
@@ -19,4 +18,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