upstream web {
         server 192.168.1.101:3080;
}
server {
        listen 80;
        server_name www.test.com;
        proxy_connect_timeout 120;
        proxy_read_timeout 120;
        proxy_send_timeout 120;
        location / {
                proxy_pass http://web;
                proxy_http_version 1.1;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}