X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-wiklou%2Fsite.conf;h=55e80de9c8554968f50251b97cf6232469c9b9d3;hp=7443e678764f410257f42cefaa99f5c734a76408;hb=640d39eafb3206d74f2ef22af700f87a9666cc2f;hpb=027f236b00f5495dd79e86f8d3ae748287c881b4 diff --git a/etc/nginx/site.d/lhc-wiklou/site.conf b/etc/nginx/site.d/lhc-wiklou/site.conf index 7443e67..55e80de 100644 --- a/etc/nginx/site.d/lhc-wiklou/site.conf +++ b/etc/nginx/site.d/lhc-wiklou/site.conf @@ -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