diff --git a/nginx/cm.yaml b/nginx/cm.yaml index 4e130b2..3cbba25 100644 --- a/nginx/cm.yaml +++ b/nginx/cm.yaml @@ -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;