X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/38354834734e621082397dd448034c284f9127c7..c1f9bd14428e5b4f78524150c1d1eece729828f2:/cookbooks/dmca/templates/default/apache.erb diff --git a/cookbooks/dmca/templates/default/apache.erb b/cookbooks/dmca/templates/default/apache.erb index 373c63af2..d59bb7e22 100644 --- a/cookbooks/dmca/templates/default/apache.erb +++ b/cookbooks/dmca/templates/default/apache.erb @@ -44,13 +44,19 @@ CustomLog /var/log/apache2/<%= @name %>-access.log combined ErrorLog /var/log/apache2/<%= @name %>-error.log - DocumentRoot <%= @directory %>/html + DocumentRoot <%= @directory %> 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/php-<%= @name %>-fpm.sock|fcgi://127.0.0.1" + + + + + Require all denied