Switch to proxypass with retry=0 for etherpad

We think Apache may be caching 503 responses (possibly themselves
a result of [1]).  Set retry=0 so that we do not cache any failures
and switch to proxypass so that we can set that option.

[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=37770

Change-Id: Ibd1087bc8feb288bfb8f66f4e6de61ebe8414233
This commit is contained in:
James E. Blair 2015-08-19 11:17:24 -07:00
parent 59dd1713ce
commit cc8e0cbad8
1 changed files with 2 additions and 2 deletions

View File

@ -74,11 +74,11 @@
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://localhost:9001/$1 [P,L]
ProxyPass /socket.io http://localhost:9001
ProxyPass /socket.io http://localhost:9001 retry=0
ProxyPassReverse /socket.io http://localhost:9001
</IfModule>
RewriteRule ^/(.*)$ http://localhost:9001/$1 [P]
ProxyPass / http://localhost:9001/ retry=0
ProxyPassReverse / http://localhost:9001/
</IfModule>