Skip to content

Commit

Permalink
Revert "Explicitly set fastcgi_params"
Browse files Browse the repository at this point in the history
This reverts a breaking change to `HTTP_X_FORWARDED_PROTO` introduced in
commit fc919ba.
  • Loading branch information
rocketeerbkw committed Apr 30, 2024
1 parent b4a2e5f commit 564935e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions images/nginx/fastcgi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 564935e

Please sign in to comment.