Correct errors in nginx configuration
This commit is contained in:
parent
51737a53dc
commit
d06fc65af9
@ -46,15 +46,15 @@
|
|||||||
# desu.ltd
|
# desu.ltd
|
||||||
- name: desu.ltd
|
- name: desu.ltd
|
||||||
proxy_pass: http://desultd:80
|
proxy_pass: http://desultd:80
|
||||||
handles:
|
locations:
|
||||||
- handle: /.well-known/matrix/server
|
- location: /.well-known/matrix/server
|
||||||
contents: |
|
contents: |
|
||||||
header Content-Type application/json
|
default_type application/json;
|
||||||
respond `{"m.server":"matrix.desu.ltd:443"}`
|
return 200 '{"m.server":"matrix.desu.ltd:443"}';
|
||||||
- handle: /.well-known/matrix/client
|
- location: /.well-known/matrix/client
|
||||||
contents: |
|
contents: |
|
||||||
header Content-Type application/json
|
default_type application/json;
|
||||||
resond `{"m.homeserver":{"base_url":"https://matrix.desu.ltd"}}`
|
return 200 '{"m.homeserver":{"base_url":"https://matrix.desu.ltd"}}';
|
||||||
- name: git.desu.ltd
|
- name: git.desu.ltd
|
||||||
proxy_pass: http://gitea:3000
|
proxy_pass: http://gitea:3000
|
||||||
- name: nc.desu.ltd
|
- name: nc.desu.ltd
|
||||||
|
Loading…
Reference in New Issue
Block a user