⚡️: improve redirection for images
This commit is contained in:
@@ -13,6 +13,10 @@ server {
|
|||||||
root /srv/http/www.nintendojofr.com/;
|
root /srv/http/www.nintendojofr.com/;
|
||||||
index index.html index.htm index.php;
|
index index.html index.htm index.php;
|
||||||
|
|
||||||
|
location ~ ^/images/(.*)$ {
|
||||||
|
return 301 https://www.nintendojo.fr/images/$1;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 301 https://www.nintendojo.fr;
|
return 301 https://www.nintendojo.fr;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user