X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0950668153776b73b4e02a62d5435a77773cdde..ffa01e9d1bca92732900829dd09f980bfb8e66bd:/cookbooks/mediawiki/templates/default/apache.erb diff --git a/cookbooks/mediawiki/templates/default/apache.erb b/cookbooks/mediawiki/templates/default/apache.erb index 8c5224a4a..fd23a5341 100644 --- a/cookbooks/mediawiki/templates/default/apache.erb +++ b/cookbooks/mediawiki/templates/default/apache.erb @@ -32,6 +32,10 @@ DocumentRoot <%= @directory %> + AllowEncodedSlashes NoDecode + + ProxyTimeout 300 + RewriteCond %{SERVER_NAME} !=<%= @name %> RewriteRule ^/(.*)$ https://<%= @name %>/$1 [R=permanent] @@ -92,7 +96,7 @@ Require all granted - SetHandler "proxy:unix:/run/php/<%= @name %>.sock|fcgi://127.0.0.1" + SetHandler "proxy:unix:/run/php/php-<%= @name %>-fpm.sock|fcgi://127.0.0.1"