X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/757b7e227f73c7fcad7d9f61d24d58636d69f1d9..58448159b341f104b2feaab7470ddb30135ab4b5:/cookbooks/dev/templates/default/apache.phppgadmin.erb diff --git a/cookbooks/dev/templates/default/apache.phppgadmin.erb b/cookbooks/dev/templates/default/apache.phppgadmin.erb index b6a7f9197..8f81e9d42 100644 --- a/cookbooks/dev/templates/default/apache.phppgadmin.erb +++ b/cookbooks/dev/templates/default/apache.phppgadmin.erb @@ -9,7 +9,14 @@ DocumentRoot /usr/share/phppgadmin + # Remove Proxy request header to mitigate https://httpoxy.org/ + RequestHeader unset Proxy early + ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin ProxyPassMatch ^/(.*\.phpx(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin ProxyPassMatch ^/(.*\.phpj(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin + + + Require all granted +