I'm an apache user normally, but I need to start using nginx as a reverse proxy for smtp (postfix).
I've seen tens of examples online. Like this and this. All of them have an
auth_http entry, which I completely don't understand. This is not the first time I use proxies, and I currently use haproxy since months. So why do I have to provide a php authentication page? Why can't I just use nginx as simple as I use haproxy, and just tell it: Set a frontend here, decrypt ssl with this key, and take it to that backend/port?
Could someone please explain how necessary that
auth_http entry is? The nginx manual doesn't seem to say much.
Thank you for any efforts.