Hacker News new | ask | show | jobs
by firesteelrain 656 days ago
You have a valid point regarding nginx for static content and its simplicity.

The rest of what you wrote is either wrong, oversimplified, or inaccurate.

1 comments

Thing I've never understood with nginx is why would I want my web server to also be my mail server?
I think most nginx deployments only do web, but the article on mail functionality does outline some of the reasons: https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-pro...

Besides those listed I think a plus would be to only have one server listening on priviliged ports (<1024), using the same/similar TLS configuration for both web and mail, etc. Basically having one service be the arbiter of your incoming traffic and its encryption.

Some people also throw dns via DoH/DoT in: https://www.f5.com/company/blog/nginx/using-nginx-as-dot-doh...

I suppose the technology inside nginx provides similar benefits as mail proxy as it would for a web proxy.