From c80a489ec10cb593b0f4a665fe43e871f0581a34 Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Wed, 4 Jun 2025 17:18:31 +0200 Subject: [PATCH] Remove matrix-homeserver stuff --- roles/www/templates/matrix-delegation.json | 3 --- roles/www/templates/nginx-site.conf | 7 ------- snippets/www-nginx.j2 | 7 ------- 3 files changed, 17 deletions(-) delete mode 100644 roles/www/templates/matrix-delegation.json diff --git a/roles/www/templates/matrix-delegation.json b/roles/www/templates/matrix-delegation.json deleted file mode 100644 index 9a49cc7..0000000 --- a/roles/www/templates/matrix-delegation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "m.server": "matrix.bitlair.nl" -} diff --git a/roles/www/templates/nginx-site.conf b/roles/www/templates/nginx-site.conf index f34edee..8a5255a 100644 --- a/roles/www/templates/nginx-site.conf +++ b/roles/www/templates/nginx-site.conf @@ -119,13 +119,6 @@ server { rewrite ^/Pages/(.*) https://$server_name/$1$args redirect; } - # Matrix realm delegation - location = /.well-known/matrix/server { - add_header "Content-Type" "application/json"; - add_header "Access-Control-Allow-Origin" "*"; - alias /opt/matrix-delegation.json; - } - location = /.well-known/security.txt { alias /opt/security.txt; } diff --git a/snippets/www-nginx.j2 b/snippets/www-nginx.j2 index a831121..07ac856 100644 --- a/snippets/www-nginx.j2 +++ b/snippets/www-nginx.j2 @@ -78,13 +78,6 @@ location /Pages/ { rewrite ^/Pages/(.*) https://$server_name/$1$args redirect; } -# Matrix realm delegation -location = /.well-known/matrix/server { - add_header "Content-Type" "application/json"; - add_header "Access-Control-Allow-Origin" "*"; - alias /opt/matrix-delegation.json; -} - location = /.well-known/security.txt { alias /opt/security.txt; }