X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c9156c712b8e712139466e96fba4a00deb321198..bf62d713fcd6cfb0dbeb1ae3ce347d4df96743f7:/cookbooks/donate/templates/default/apache.erb diff --git a/cookbooks/donate/templates/default/apache.erb b/cookbooks/donate/templates/default/apache.erb index 4efae184e..329dc12bd 100644 --- a/cookbooks/donate/templates/default/apache.erb +++ b/cookbooks/donate/templates/default/apache.erb @@ -27,8 +27,6 @@ DocumentRoot /srv/donate.openstreetmap.org - ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=/srv/donate.openstreetmap.org/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open" - # Alias Dynamic Content to data folder to avoid serving dummy git content Alias /donors-eur.csv /srv/donate.openstreetmap.org/data/donors-eur.csv Alias /donors.csv /srv/donate.openstreetmap.org/data/donors.csv @@ -41,7 +39,11 @@ Redirect permanent /server2015 https://donate.openstreetmap.org/ - Require all granted + Require all granted + + + SetHandler "proxy:unix:/run/php/donate.openstreetmap.org.sock|fcgi://127.0.0.1" +