️: boost fastgci_buffer_cache

This commit is contained in:
VC
2024-11-22 18:15:05 +01:00
parent 75a71d8d02
commit 40bead7c81
2 changed files with 6 additions and 0 deletions

View File

@@ -29,3 +29,4 @@ fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_buffer_size 8192;

View File

@@ -15,6 +15,11 @@ server {
client_max_body_size 2G;
# logo pour le Dojobar :sadcat:
location ~* ^/public/v6/logo.png$ {
return 301 https://www.nintendojo.fr/wp-content/themes/ndfr7/images/logo.png;
}
# couper les fichiers cachés
location ~* /(?:uploads|files)/.*\.php$ {
deny all;