Skip to content
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

How to setup with nginx on ubuntu 16 or ubuntu 17 #86

Open
haffax7 opened this issue Nov 11, 2018 · 2 comments
Open

How to setup with nginx on ubuntu 16 or ubuntu 17 #86

haffax7 opened this issue Nov 11, 2018 · 2 comments

Comments

@haffax7
Copy link

haffax7 commented Nov 11, 2018

502 Bad Gateway is displayed.
Can anyone help me?
I tried like this
Thanks

server {
    listen 80;
    listen [::]:80;

    server_name zzzzz.com;

    location / {
        proxy_pass http://localhost:3000/;
        proxy_set_header Host $http_host;
        proxy_http_version 1.1;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_redirect http://zzzzz.com:3000/ https://zzzzz.com;
    }
    location ~ /\.ht {
        deny all;
    }
}
@andrey1103
Copy link

Just start the meantorrent with npm run start:prod.

@hbs2
Copy link

hbs2 commented Oct 28, 2020

Just start the meantorrent with npm run start:prod.

do you get it to work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants