Fix nginx fastcgi retry template

This commit is contained in:
root
2026-01-24 20:20:32 +02:00
parent abee59cd43
commit 5c2da51538

View File

@@ -1092,7 +1092,7 @@ server {
location ~ \.php$ { location ~ \.php$ {
fastcgi_pass unix:SOCKET_PLACEHOLDER; fastcgi_pass unix:SOCKET_PLACEHOLDER;
fastcgi_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; fastcgi_next_upstream error timeout invalid_header http_500 http_503 http_504;
fastcgi_next_upstream_tries 2; fastcgi_next_upstream_tries 2;
fastcgi_next_upstream_timeout 5s; fastcgi_next_upstream_timeout 5s;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
@@ -6929,7 +6929,7 @@ server {
location ~ \.php\$ { location ~ \.php\$ {
fastcgi_pass unix:/var/run/php/php8.4-fpm-{$username}.sock; fastcgi_pass unix:/var/run/php/php8.4-fpm-{$username}.sock;
fastcgi_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; fastcgi_next_upstream error timeout invalid_header http_500 http_503 http_504;
fastcgi_next_upstream_tries 2; fastcgi_next_upstream_tries 2;
fastcgi_next_upstream_timeout 5s; fastcgi_next_upstream_timeout 5s;
fastcgi_index index.php; fastcgi_index index.php;
@@ -11714,7 +11714,7 @@ server {
location ~ \.php$ { location ~ \.php$ {
include snippets/fastcgi-php.conf; include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php8.4-fpm-$username.sock; fastcgi_pass unix:/var/run/php/php8.4-fpm-$username.sock;
fastcgi_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; fastcgi_next_upstream error timeout invalid_header http_500 http_503 http_504;
fastcgi_next_upstream_tries 2; fastcgi_next_upstream_tries 2;
fastcgi_next_upstream_timeout 5s; fastcgi_next_upstream_timeout 5s;
fastcgi_param SCRIPT_FILENAME \$realpath_root\$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME \$realpath_root\$fastcgi_script_name;