X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0950668153776b73b4e02a62d5435a77773cdde..dd7f629ab3f1404a2a3ea5a9c4e28c416ecb6e3b:/cookbooks/mediawiki/templates/default/apache.erb?ds=inline 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]