yrsamrith
6/28/2017 - 10:00 AM

nginx simple config /etc/nginx/site-available/default

nginx simple config /etc/nginx/site-available/default

server {
    listen 80;

    server_name YOUR_DOMAIN_NAME_OR_IP_ADDRESS;

    location / {
        proxy_pass http://DOMAIN_NAME_OR_IP_ADDRESS:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}