🔥: remove useless redirection
This commit is contained in:
@@ -12,14 +12,14 @@ 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 ~ ^/forum/(.*)$ {
|
||||
return 301 https://forum.nintendojo.fr/$1?$args;
|
||||
}
|
||||
|
||||
location ~ ^/forum {
|
||||
return 301 https://forum.nintendojo.fr/;
|
||||
}
|
||||
|
||||
location ~ ^/(index).php(/.*)+ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
|
||||
|
Reference in New Issue
Block a user