I have 1 main IP, and one secondary IP. The secondary IP is meant for a special Go webserver that listens only on this IP for a reason that is irrelevant to this question.
Unfortunately it doesn't work because Nginx decided to listen on all IPs and so my custom webserver cannot bind to that IP and port. I can't use a different port, it has to be this port... that's why I bought a second IP address, for this exclusive purpose.
How do I make Nginx only listen on the main IP instead of on all IPs?
I'm on Ubuntu 18.04.