Nginx Listen to Floating IP

June 10, 2017 588 views
Nginx Networking Ubuntu 16.04

Is it possible to configure Nginx to listen to Floating IP assigned to my droplet?

1 Answer
hansen June 10, 2017
Accepted Answer

Hi @panteparak

You should be listening to the Anchor IP, since that's the IP communicating with the Floating IP:
https://www.digitalocean.com/community/tutorials/how-to-use-floating-ips-on-digitalocean#droplet-anchor-ips

A DigitalOcean Floating IP is a publicly-accessible static IP address that can be mapped to one of your Droplets. A Floating IP can also be instantly remapped, via the DigitalOcean Control Panel or API, to one of your other Droplets in the same datacenter. This instant remapping capability grants you the ability to design and create High Availability (HA) server infrastructures by adding redundancy to the entry point, or gateway, to your servers.
Have another answer? Share your knowledge.