-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration for running behind an Nginx proxy #55
Comments
Hello @kindlyfire! |
This is the Nginx configuration I run for my multivisor site: server {
server_name <domain>;
include to_ssl.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name <domain>;
include ssl.conf;
include certs/<domain>.conf;
location / {
include proxy_settings.conf;
proxy_pass http://127.0.0.1:22000;
}
location /api/stream {
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 X-Forwarded-Proto https;
proxy_set_header Proxy "";
proxy_pass http://127.0.0.1:22000;
proxy_buffering off;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
tcp_nodelay on;
}
} |
still no luck with running multivisor with nginx |
@tiagocoutinho any update on this? |
Hi. First off, thank you for creating multivisor, it's an amazing piece of software! I'd like to know if there's a recommended configuration for running it behind an Nginx proxy (and using HTTPS).
I always seem to get an error
GET https://<my domain>/api/stream 504
after a minute or so, and the panel then shows me the following error:Couldn't connect to multivisor server, make sure it is running
(even though it is running, and refreshing the pages gives me access again for a minute or so)The text was updated successfully, but these errors were encountered: