nginx update for matrix
This commit is contained in:
@@ -22,17 +22,9 @@ 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 {
|
||||
|
||||
Reference in New Issue
Block a user