diff --git a/roles/nginx/templates/fastcgi_params.j2 b/roles/nginx/templates/fastcgi_params.j2 index 75f5a48..766d6e5 100644 --- a/roles/nginx/templates/fastcgi_params.j2 +++ b/roles/nginx/templates/fastcgi_params.j2 @@ -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; diff --git a/roles/nginx/templates/vhosts/www.nintendojo.fr.conf.j2 b/roles/nginx/templates/vhosts/www.nintendojo.fr.conf.j2 index e87bee0..ee4301c 100644 --- a/roles/nginx/templates/vhosts/www.nintendojo.fr.conf.j2 +++ b/roles/nginx/templates/vhosts/www.nintendojo.fr.conf.j2 @@ -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;