nginx update for matrix

This commit is contained in:
Philip Haupt
2025-09-17 18:00:00 +02:00
parent 2598600702
commit f315f5b813

View File

@@ -22,18 +22,10 @@ data:
gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;
gzip_min_length 1000;
## direkt in Treafik geroutet
# location /_matrix {
# proxy_pass http://synapse:8008;
# proxy_set_header X-Forwarded-For $remote_addr;
# client_max_body_size 128m;
# }
#
# location /.well-known/matrix/ {
# default_type application/json;
# add_header Access-Control-Allow-Origin https://borninpain.de;
# }
}
location /.well-known/matrix/ {
default_type application/json;
add_header Access-Control-Allow-Origin https://borninpain.de;
}
server {
listen 80;