Correct errors in nginx configuration

This commit is contained in:
Salt 2021-10-02 21:53:44 -05:00
parent 51737a53dc
commit d06fc65af9

View File

@ -46,15 +46,15 @@
# desu.ltd
- name: desu.ltd
proxy_pass: http://desultd:80
handles:
- handle: /.well-known/matrix/server
locations:
- location: /.well-known/matrix/server
contents: |
header Content-Type application/json
respond `{"m.server":"matrix.desu.ltd:443"}`
- handle: /.well-known/matrix/client
default_type application/json;
return 200 '{"m.server":"matrix.desu.ltd:443"}';
- location: /.well-known/matrix/client
contents: |
header Content-Type application/json
resond `{"m.homeserver":{"base_url":"https://matrix.desu.ltd"}}`
default_type application/json;
return 200 '{"m.homeserver":{"base_url":"https://matrix.desu.ltd"}}';
- name: git.desu.ltd
proxy_pass: http://gitea:3000
- name: nc.desu.ltd