X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/42bcc22d183308b136571a77af3f80dd3fd72f06..9c48ae6b9154acb9aeb57cb94fb2fae5a88b9c8d:/cookbooks/donate/templates/default/apache.erb?ds=sidebyside diff --git a/cookbooks/donate/templates/default/apache.erb b/cookbooks/donate/templates/default/apache.erb index 9404ad13a..8bf3dad45 100644 --- a/cookbooks/donate/templates/default/apache.erb +++ b/cookbooks/donate/templates/default/apache.erb @@ -27,9 +27,6 @@ DocumentRoot /srv/donate.openstreetmap.org - php_admin_value open_basedir /srv/donate.openstreetmap.org/:/usr/share/php/:/tmp/ - php_admin_value disable_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 @@ -42,7 +39,11 @@ Redirect permanent /server2015 https://donate.openstreetmap.org/ - Require all granted + Require all granted + + + SetHandler "proxy:unix:/run/php/php-donate.openstreetmap.org-fpm.sock|fcgi://127.0.0.1" +