htz.ex42-1048908: fix matrix .well-known config
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-07-30 15:37:39 +02:00
parent 7986f6ee7d
commit 83ff19f3fb
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,5 @@
location /.well-known/matrix/ { location /.well-known/matrix/ {
types { } default_type "application/json";
alias /etc/matrix-synapse/wellknown/; alias /etc/matrix-synapse/wellknown/;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
} }

View file

@ -1,4 +1,5 @@
location /.well-known/matrix/ { location /.well-known/matrix/ {
types { } default_type "application/json";
alias /etc/matrix-synapse/wellknown/; alias /etc/matrix-synapse/wellknown/;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
} }

View file

@ -1,6 +1,7 @@
client_max_body_size 500M; client_max_body_size 500M;
location /.well-known/matrix/ { location /.well-known/matrix/ {
types { } default_type "application/json";
alias /etc/matrix-synapse/wellknown/; alias /etc/matrix-synapse/wellknown/;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
} }