Narrow down the pass locations for Matrix to just server endpoints
This commit is contained in:
parent
e05d4a379b
commit
7337fb49ed
@ -28,7 +28,14 @@
|
|||||||
vars:
|
vars:
|
||||||
ingress_servers:
|
ingress_servers:
|
||||||
- name: matrix.desu.ltd
|
- name: matrix.desu.ltd
|
||||||
proxy_pass: http://synapse:8008
|
proxies:
|
||||||
|
- location: ~* ^(\/_matrix|\/_synapse\/client)
|
||||||
|
pass: http://synapse:8008
|
||||||
|
locations:
|
||||||
|
- location: /
|
||||||
|
contents: |
|
||||||
|
default_type text/html;
|
||||||
|
return 200 'Watch this space...';
|
||||||
directives:
|
directives:
|
||||||
- "client_max_body_size 0"
|
- "client_max_body_size 0"
|
||||||
tags: [ web, docker, ingress ]
|
tags: [ web, docker, ingress ]
|
||||||
|
Loading…
Reference in New Issue
Block a user