I have two applications on the server, which have different domain names but need to be on the same IP and port. How do I do this with Nginx?
With Apache, I can do this with VirtualHost blocks, but as far as I can tell Nginx server blocks require unique listen lines.