diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-07-13 18:10:26 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-07-13 18:10:26 +0000 |
commit | b595ac2150e42a22e92b954188ae374d290b3f53 (patch) | |
tree | b5e9d5e421c6d266e669476e2a1dfa4e89383953 /terminaldweller.com/main/nginx.conf | |
parent | update (diff) | |
download | scripts-main.tar.gz scripts-main.zip |
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 "*"; |