aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/main/nginx.conf
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-07-13 18:10:26 +0000
committerterminaldweller <devi@terminaldweller.com>2023-07-13 18:10:26 +0000
commitb595ac2150e42a22e92b954188ae374d290b3f53 (patch)
treeb5e9d5e421c6d266e669476e2a1dfa4e89383953 /terminaldweller.com/main/nginx.conf
parentupdate (diff)
downloadscripts-b595ac2150e42a22e92b954188ae374d290b3f53.tar.gz
scripts-b595ac2150e42a22e92b954188ae374d290b3f53.zip
updateHEADmain
Diffstat (limited to 'terminaldweller.com/main/nginx.conf')
-rw-r--r--terminaldweller.com/main/nginx.conf6
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 "*";