Prevent httpoxy vulnerability in PHP applications
This commit is contained in:
@ -24,3 +24,5 @@ fastcgi_param SERVER_NAME $server_name;
|
|||||||
|
|
||||||
# PHP only, required if PHP was built with --enable-force-cgi-redirect
|
# PHP only, required if PHP was built with --enable-force-cgi-redirect
|
||||||
fastcgi_param REDIRECT_STATUS 200;
|
fastcgi_param REDIRECT_STATUS 200;
|
||||||
|
# https://www.nginx.com/blog/mitigating-the-httpoxy-vulnerability-with-nginx/
|
||||||
|
fastcgi_param HTTP_PROXY "";
|
||||||
|
Reference in New Issue
Block a user