Content differences:
--- /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf.orig
+++ /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf
@@ -118,7 +118,8 @@
# mod_proxy requires a shorter timeout than Gerrit's Jetty
#
- # Because Gerrit's Jetty has a 30s timeout (httpd.idleTimeout = 30s):
+ # Because Gerrit's Jetty timeout is kept longer than Apache's mod_proxy
+ # timeouts:
#
# - by the tiny short time it takes for mod_proxy to send the packet to
# Jetty, the connection might have reached its timeout on the Jetty side
@@ -135,11 +136,11 @@
# MUST be shorter than Gerrit `httpd.idleTimeout`
ProxyTimeout 25
- # Worker for Gitiles
- ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon Keepalive=On
+ # Worker for Gitiles.
+ ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon Keepalive=On timeout=55 #Â T421904
# Below requests are handled by the same backend since the URLs match and
# thus with the same settings.
- ProxyPass /r/plugins/gitiles/ http://127.0.0.1:8080/r/plugins/gitiles/
+ ProxyPass /r/plugins/gitiles/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon Keepalive=On timeout=55 #Â T421904
# Worker for Gerrit
ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon Keepalive=On