Skip to content
Snippets Groups Projects
Commit ab4e4c6c authored by Colin W's avatar Colin W Committed by Richard van der Hoff
Browse files

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
parent 3959858e
Branches
Tags
No related merge requests found
Update Apache setup to remove location syntax. Thanks to @cwmke!
...@@ -69,20 +69,16 @@ Let's assume that we expect clients to connect to our server at ...@@ -69,20 +69,16 @@ Let's assume that we expect clients to connect to our server at
SSLEngine on SSLEngine on
ServerName matrix.example.com; ServerName matrix.example.com;
<Location /_matrix> ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
ProxyPass http://127.0.0.1:8008/_matrix nocanon ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
ProxyPassReverse http://127.0.0.1:8008/_matrix
</Location>
</VirtualHost> </VirtualHost>
<VirtualHost *:8448> <VirtualHost *:8448>
SSLEngine on SSLEngine on
ServerName example.com; ServerName example.com;
<Location /_matrix> ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
ProxyPass http://127.0.0.1:8008/_matrix nocanon ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
ProxyPassReverse http://127.0.0.1:8008/_matrix
</Location>
</VirtualHost> </VirtualHost>
* HAProxy:: * HAProxy::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment