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_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;
|
||||||
gzip_min_length 1000;
|
gzip_min_length 1000;
|
||||||
|
|
||||||
## direkt in Treafik geroutet
|
location /.well-known/matrix/ {
|
||||||
# location /_matrix {
|
default_type application/json;
|
||||||
# proxy_pass http://synapse:8008;
|
add_header Access-Control-Allow-Origin https://borninpain.de;
|
||||||
# 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;
|
|
||||||
# }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|||||||
Reference in New Issue
Block a user