mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-23 04:55:46 +00:00
commit
a923032626
@ -136,7 +136,7 @@ backend matrix-backend
|
|||||||
reqirep ^(GET|POST|HEAD)\ /.well-known/matrix/(.*) \1\ /\2
|
reqirep ^(GET|POST|HEAD)\ /.well-known/matrix/(.*) \1\ /\2
|
||||||
# Rewrite redirects as ProxyPassReverse does
|
# Rewrite redirects as ProxyPassReverse does
|
||||||
acl response-is-redirect res.hdr(Location) -m found
|
acl response-is-redirect res.hdr(Location) -m found
|
||||||
rsprep ^Location:\ (http|https)://matrix.example.com\/(.*) Location:\ \1://matrix.exapmle.com/.well-known/matrix/\2 if response-is-redirect
|
rsprep ^Location:\ (http|https)://matrix.example.com\/(.*) Location:\ \1://matrix.example.com/.well-known/matrix/\2 if response-is-redirect
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to:
|
Make sure to:
|
||||||
|
Loading…
Reference in New Issue
Block a user