From 564935e271bfe06f186eed27c8e175d432827fb3 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Mon, 29 Apr 2024 20:18:51 -0500 Subject: [PATCH] Revert "Explicitly set fastcgi_params" This reverts a breaking change to `HTTP_X_FORWARDED_PROTO` introduced in commit fc919ba704325520bd993d60353f60eb3d9050b3. --- images/nginx/fastcgi.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/images/nginx/fastcgi.conf b/images/nginx/fastcgi.conf index 0f835be17..9cbc41e66 100644 --- a/images/nginx/fastcgi.conf +++ b/images/nginx/fastcgi.conf @@ -13,10 +13,6 @@ set_by_lua_block $remote_addr_clean { end } -fastcgi_param HTTP_X_FORWARDED_FOR $proxy_add_x_forwarded_for; -fastcgi_param HTTP_X_REAL_IP $remote_addr; -fastcgi_param HTTP_X_FORWARDED_PROTO $scheme; - fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method;