X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0950668153776b73b4e02a62d5435a77773cdde..ad6b3f72b1b2bb9c7184f3badc87193b4e57aba0:/cookbooks/mediawiki/templates/default/apache.erb diff --git a/cookbooks/mediawiki/templates/default/apache.erb b/cookbooks/mediawiki/templates/default/apache.erb index 8c5224a4a..3182f8d58 100644 --- a/cookbooks/mediawiki/templates/default/apache.erb +++ b/cookbooks/mediawiki/templates/default/apache.erb @@ -32,6 +32,8 @@ DocumentRoot <%= @directory %> + ProxyTimeout 300 + RewriteCond %{SERVER_NAME} !=<%= @name %> RewriteRule ^/(.*)$ https://<%= @name %>/$1 [R=permanent]