summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 42b0dfdd..fd784def 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -241,6 +241,10 @@ http {
add_header Cache-Control "public, max-age=31536000, immutable";
}
+ location = /.well-known/matrix/server {
+ default_type application/json;
+ }
+
location ^~ /fonts/ {
include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "same-origin" always;