diff options
Diffstat (limited to '')
-rw-r--r-- | terminaldweller.com/main/nginx.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/terminaldweller.com/main/nginx.conf b/terminaldweller.com/main/nginx.conf index e4f047f..ddeab02 100644 --- a/terminaldweller.com/main/nginx.conf +++ b/terminaldweller.com/main/nginx.conf @@ -43,6 +43,7 @@ http { add_header Access-Control-Allow-Origin "*"; } + # synapse location /.well-known/matrix/server { access_log off; add_header Access-Control-Allow-Origin "*"; @@ -56,6 +57,11 @@ http { return 200 '{"m.homeserver": {"base_url": "https://matrix.terminaldweller.com"}}'; } + # pleroma + location = /.well-known/host-meta { + return 301 https://pleroma.terminaldweller.com$request_uri; + } + location / { root /srv/; add_header Access-Control-Allow-Origin "*"; |