meanTorrent
meanTorrent copied to clipboard
How to setup with nginx on ubuntu 16 or ubuntu 17
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;
}
}
Just start the meantorrent with npm run start:prod.
Just start the meantorrent with npm run start:prod.
do you get it to work ?