By oceaneleven
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!
NginX can proxy mail, IMAP, POP3, and SMTP. Here are some resources:
https://cristian.livadaru.net/switching-mailservers-with-nginx-mail-proxy/ https://nginx.org/en/docs/mail/ngx_mail_core_module.html https://nginx.org/en/docs/mail/ngx_mail_auth_http_module.html#protocol
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.