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

server_name iot.xx.com;

location / {
    # try_files $uri $uri/ =404;
    proxy_pass http://39.104.xx.84:9090;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $host;
}

}

Comments are closed.