domain.com with SSL hosted on AWS EC2 + Route 53 DNS
EC2 runs Nginx and reverse proxies to multiple upstream NodeJS applications hosted on the same EC2 server
location / currently points to http://site another NodeJS applications, which I am currently moving to Fly.io with reserved IP 1.1.1.1 and internal url site.internal
location / {
proxy_pass http://site;
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;
}
What should I do to have the Nginx load the fly.io application?
Thanks!