David Borrink
Basic Pleskian
Yes, the port is 3000 per the docker-compose.yml file setup I used.
I see your example matches the one on the Rocket Chat docs page for "Running under Plesk Onyx behind Nginx". I'm on Obsidian but I tried this anyway....
Still a 502 error.
These are the log entries my proxy error log from the attempt. I'm XXX-ing out my domain name.
2024/04/21 08:54:47 [error] 8327#0: *1227907 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 47.225.20.180, server: chat.XXX.com, request: "GET / HTTP/2.0", upstream: "http://0.0.0.0:3000/", host: "chat.XXX.com"
I see your example matches the one on the Rocket Chat docs page for "Running under Plesk Onyx behind Nginx". I'm on Obsidian but I tried this anyway....
Code:
#manual extension docker with socket upgrade begin
location ~ ^/.* {
proxy_pass http://0.0.0.0:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Nginx-Proxy true;
proxy_http_version 1.1;
proxy_redirect off;
}
Still a 502 error.
These are the log entries my proxy error log from the attempt. I'm XXX-ing out my domain name.
2024/04/21 08:54:47 [error] 8327#0: *1227907 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 47.225.20.180, server: chat.XXX.com, request: "GET / HTTP/2.0", upstream: "http://0.0.0.0:3000/", host: "chat.XXX.com"