Topic: Nginx redirect /admin to /iredadmin
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Centos7
- 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.
====
Hi
This is probably a silly question but haven't used nginx before.
I want /iredadmin AND /admin to work but i'm having trouble. I've gotten it working by adding ..
# iRedAdmin: redirect /admin to /iredadmin/
location = /admin {
rewrite ^ /iredadmin/;
}
to the bottom of the "iredadmin.tmpl" file, but I assume this will be overwritten when the next update comes. I would have thought I would need to add it in the "00-default-ssl.conf" file but any way i've tried hasn't worked.
Help!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.