Closed sliwik closed 1 month ago
And to be precise, heree is my NGINX conf:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name matrix-DOMAIN.com;
ssl_certificate fullchain.pem;
ssl_certificate_key privkey.pem;
location ~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync) {
proxy_pass http://localhost:28009;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
}
location ~ ^(\/_matrix|\/_synapse\/client) {
proxy_connect_timeout 60;
proxy_read_timeout 60;
proxy_send_timeout 60;
proxy_intercept_errors off;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:28008;
}
location /.well-known/matrix/server {
default_type application/json;
return 200 '{ "m.server": "matrix-DOMAIN.com:443" }';
add_header Access-Control-Allow-Origin *;
}
location /.well-known/matrix/client {
return 200 '{"m.homeserver": {"base_url": "https://matrix-DOMAIN.com"},"org.matrix.msc3575.proxy": {"url": "https://matrix-DOMAIN.com"}}';
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
I found out I had Firewall rules that prevent Container to communicate.
Hi, I had to reconfigure sliding-sync environment after my NAS crashed. For a reason I cannot understand, my sliding-sync configuration is not working and I get this message in my log:
My docker-compose is the same than before the crash with SYNCV3_SERVER=https://matrix-DOMAIN.com.
Any idea ? Should I add anything in my NGINX configuration to allow response to https://matrix-DOMAIN.com/_matrix/client/versions? It currently returns:
Thank you for your help.