Notes
app update apt install nginx-full ufw allow 'Nginx HTTP' cd /etc/nginx/sites-available cp default default.bak vi default 1000dd Add following:
server { listen 80, server_name yourdomain.com; location / { proxy_set_header X-Forward-For $proxy_add_x_forward_for; proxy_set_header X-Forward-Proto $schema; proxy_set_header X-Forward-IP $remote_addr; proxy_set_header Host $http_host; proxy_http_version 1.1; proxy_pass http://localhost:10000; } client_max_body_size 50m; }
:wq systemctl restart nginx
