Report this

What is the reason for this report?

Nginx, Proxy, and Mail Service

Posted on August 18, 2014

Hello, when I setup my config that way: User -> Internet -> Proxy <-> My Server How I need to change settings on the Proxy (wich is nginx) to pass also and the emails, so it will proxy all, sites (port 80, 443) and email which is send from my server to my costumers? For mail server I just use sendmail, wich will use php for sending email itself, because don’t need full mail server, just that my site can handle sending messages from my server to my customers… Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Nginx can be used to act as a reverse proxy for web services. This guide will assist you in setting that up. To the best of my knowledge, nginx can not proxy mail services.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.