Put the proxy params:
server {
...
location / {
proxy_pass https://your_backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
...
}
upstream params:
vi /etc/nginx/conf.d/upstreams.conf
upstream your_backend {
server 192.168.55.53:443;
}