summary refs log tree commit diff
path: root/docs/reverse_proxy.rst
diff options
context:
space:
mode:
authorColin W <cwmke@users.noreply.github.com>2019-03-21 09:05:56 -0500
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-03-21 14:05:56 +0000
commitab4e4c6c2f9c044b7ae47e5032e20bc8abf5436b (patch)
tree6d8c06b386f83b6d84bab3c111add8592562aaf9 /docs/reverse_proxy.rst
parentMerge pull request #4904 from matrix-org/erikj/fix_shutdown (diff)
downloadsynapse-ab4e4c6c2f9c044b7ae47e5032e20bc8abf5436b.tar.xz
Update Apache Setup To Remove Location Syntax (#4870)
This one should close #4841. Many thanks to @dev4223 for bringing it up and finding a solution.

Signed-off-by: Colin White
Diffstat (limited to '')
-rw-r--r--docs/reverse_proxy.rst14
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/reverse_proxy.rst b/docs/reverse_proxy.rst
index 8e26c50f1b..cc81ceb84b 100644
--- a/docs/reverse_proxy.rst
+++ b/docs/reverse_proxy.rst
@@ -69,20 +69,16 @@ Let's assume that we expect clients to connect to our server at
           SSLEngine on
           ServerName matrix.example.com;
 
-          <Location /_matrix>
-              ProxyPass http://127.0.0.1:8008/_matrix nocanon
-              ProxyPassReverse http://127.0.0.1:8008/_matrix
-          </Location>
+          ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
+          ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
       </VirtualHost>
 
       <VirtualHost *:8448>
           SSLEngine on
           ServerName example.com;
-
-          <Location /_matrix>
-              ProxyPass http://127.0.0.1:8008/_matrix nocanon
-              ProxyPassReverse http://127.0.0.1:8008/_matrix
-          </Location>
+          
+          ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
+          ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
       </VirtualHost>
 
 * HAProxy::