🎨: 404 on images
This commit is contained in:
@@ -20,6 +20,10 @@ server {
|
|||||||
return 301 https://forum.nintendojo.fr/;
|
return 301 https://forum.nintendojo.fr/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/images/(.*)$ {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/(index).php(/.*)+ {
|
location ~ ^/(index).php(/.*)+ {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
|
||||||
|
Reference in New Issue
Block a user