Narrow down the pass locations for Matrix to just server endpoints

This commit is contained in:
Salt 2021-10-02 22:11:10 -05:00
parent e05d4a379b
commit 7337fb49ed

View File

@ -28,7 +28,14 @@
vars:
ingress_servers:
- 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:
- "client_max_body_size 0"
tags: [ web, docker, ingress ]