From 26ec6971ab960f0d6e1da4ad07d3a382fab52020 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Fri, 24 Feb 2017 00:57:14 +0100 Subject: [PATCH] Fix le favico dans la conf de nginx --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2b82a91..6c5ec74 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,7 +10,6 @@ location __PATHTOCHANGE__ { if (!-e $request_filename) { rewrite ^/([^/]*)/robots\.txt$ __PATHTOCHANGE__/spip.php?page=robots.txt last; - rewrite ^/([^/]*)/favicon\.ico$ __PATHTOCHANGE__/spip.php?page=favicon.ico last; rewrite ^/([^/]*)/sitemap\.xml$ __PATHTOCHANGE__/spip.php?page=sitemap.xml last; rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last; } @@ -36,6 +35,7 @@ location __PATHTOCHANGE__ { # à garder en cache une semaine. Si il y a un proxy sur la # route, celui-ci est autorisé à faire une copie et à la # cacher. + rewrite ^/([^/]*)/favicon\.ico$ __PATHTOCHANGE__/spip.php?page=favicon.ico last; expires 1w; add_header Cache-Control public; }