1

Topic: add a new webmail client at https://mydomain.com/webmail using nginx

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Downloaded
- Linux/BSD distribution name and version:  Ubuntu 18.04.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Initially, I just want to set up a new host at https://mydomain.com/webmail which servers a simple "Hello World" page, but I am struggling to find a suitable guide anywhere which works.

Eventually, I will add a different webmail client that I have used with an older version (on Apache) and which for familiarity and continuity I want to make available in my new installation (using nginx), but I am not that familiar with nginx and am struggling to get the basic static page set up within which to work on installing the webmail client.

Be very grateful for either a link or some basic pointers to get me started.

Thank you.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: add a new webmail client at https://mydomain.com/webmail using nginx

If you just want to add a new URL "/webmail" under existing web host, please check file /etc/nginx/sites-enabled/00-default-ssl.conf, it includes few config snippet files from /etc/nginx/templates/. You can write your own config snippet file and update 00-default-ssl.conf to include it.

3

Re: add a new webmail client at https://mydomain.com/webmail using nginx

ZhangHuangbin wrote:

If you just want to add a new URL "/webmail" under existing web host, please check file /etc/nginx/sites-enabled/00-default-ssl.conf, it includes few config snippet files from /etc/nginx/templates/. You can write your own config snippet file and update 00-default-ssl.conf to include it.

Thanks. Will go look at that.