From 4d4a971c72510041908aca7426061c9054046acb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 4 Nov 2020 00:27:43 +0000 Subject: [PATCH] Increase proxy timeout for mediawiki sites --- cookbooks/mediawiki/templates/default/apache.erb | 2 ++ 1 file changed, 2 insertions(+) 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] -- 2.39.5