meanTorrent icon indicating copy to clipboard operation
meanTorrent copied to clipboard

How to setup with nginx on ubuntu 16 or ubuntu 17

Open haffax7 opened this issue 6 years ago • 2 comments

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;
    }
}

haffax7 avatar Nov 11 '18 01:11 haffax7

Just start the meantorrent with npm run start:prod.

andrey1103 avatar Jan 29 '19 04:01 andrey1103

Just start the meantorrent with npm run start:prod.

do you get it to work ?

hbs2 avatar Oct 28 '20 12:10 hbs2