X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/749c528b381e13ab3a61e3ddf1c9679e69012e91..ac7b87133f56d8f338d80e9a6880c80b676ab779:/cookbooks/dmca/templates/default/apache.erb diff --git a/cookbooks/dmca/templates/default/apache.erb b/cookbooks/dmca/templates/default/apache.erb index 373c63af2..672a1be3e 100644 --- a/cookbooks/dmca/templates/default/apache.erb +++ b/cookbooks/dmca/templates/default/apache.erb @@ -47,10 +47,12 @@ DocumentRoot <%= @directory %>/html Options -Indexes - - ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=<%= @directory %>/html/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen" /html> Require all granted + + + SetHandler "proxy:unix:/run/php/<%= @name %>.sock|fcgi://127.0.0.1" +