mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
Fix le favico dans la conf de nginx
This commit is contained in:
parent
782db06927
commit
26ec6971ab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue