Explorar o código

unset HTTP_PROXY header

Marco Fretz %!s(int64=7) %!d(string=hai) anos
pai
achega
3404c4c651
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      templates/vhost/fastcgi_params.erb

+ 3 - 0
templates/vhost/fastcgi_params.erb

@@ -25,3 +25,6 @@ fastcgi_param  HTTPS              $https;
 
 # PHP only, required if PHP was built with --enable-force-cgi-redirect
 fastcgi_param  REDIRECT_STATUS    200;
+
+# Mitigate httpoxy, see https://httpoxy.org/#fix-now
+fastcgi_param  HTTP_PROXY          "";