Topic: [SOLVED]Running mail behind nginx reverse proxy on a separate server
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4
- Deployed with iRedMail Easy or the downloadable installer?installer
- Linux/BSD distribution name and version: Ubuntu focal
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro?no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.Unable to access mail outside LAN, but fine locally
====
Hello, I have newly installed iredmail on a fresh Ubuntu server within my LAN. I was wondering if there are any guides to installing behind a nginx reverse proxy that's on separate machine within my LAN? All of my current servers are behind my single proxy server. I usually setup a new nginx conf on the proxy server for each machine but am having problems with accessing iredmail.
Some details:
My proxy server handles all of my SSL. iredmail is installed on a clean server via the installation script. I use google domains and have my DNS setup as follows within the google DNS panel:
host name: mydomain.com | type: MX | data: 10 mail.mydomain.com
host name: mail.mydomain.com | type: CNAME | data: mydomain.com
I was wondering what my nginx confs should look like, on the iredmail local install as well as the proxy server nginx conf. Are there any example confs I can look at? The various ports to include as well? Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.