mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
add nginx config for websocket to work
parent
3a84b22fe4
commit
eac1e07e08
@ -29,6 +29,8 @@ server {
|
||||
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_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://IP:port; #change it to your IP and port
|
||||
proxy_read_timeout 90;
|
||||
proxy_redirect http://IP:port https://trilium.example.net; #change them based on your IP, port and domain
|
Loading…
x
Reference in New Issue
Block a user