️: improve redirection for images

This commit is contained in:
VC
2024-07-23 10:45:24 +02:00
parent 72c92bac88
commit c8a827a930

View File

@@ -13,6 +13,10 @@ server {
root /srv/http/www.nintendojofr.com/;
index index.html index.htm index.php;
location ~ ^/images/(.*)$ {
return 301 https://www.nintendojo.fr/images/$1;
}
location / {
return 301 https://www.nintendojo.fr;
}