livematrix
livematrix copied to clipboard
NGINX Reverse Proxy
Server is starting fine and config.js is configured to HTTPs / WSS
When I try to sign into the Livechat this Message appears
net/http: invalid Cookie.Domain ".1:8000"; dropping domain attribute
after pressing F5 the Chat is working but no new Room will be create and invite me.
NGINX Conf
server {
listen 80;
server_name livechat.messenger.3dns.eu;
root /opt/matrix/misc/livechat/web;
index index.html;
location / {
}
location /session {
proxy_pass http://127.0.0.1:8000;
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 $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /entry {
proxy_pass http://127.0.0.1:8000;
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 $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}