X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/22bfa5e6f8152e492f21ae2c972a164474cfdd61..3b563e12600d3519011cde414ee0465698a7814f:/cookbooks/dmca/templates/default/apache.erb?ds=sidebyside diff --git a/cookbooks/dmca/templates/default/apache.erb b/cookbooks/dmca/templates/default/apache.erb index 592c0d336..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,proc_open" /html> Require all granted + + + SetHandler "proxy:unix:/run/php/<%= @name %>.sock|fcgi://127.0.0.1" +