1

Topic: where does the /iredadmin build from?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Xubuntu 14.10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? nope
- Related log if you're reporting an issue:
====

where is the example.com/iredadmin directory built from?
i would like to move/rename it if possible, i tried copying and or renaming iredadmin in /opt/www/ but it just results in a 404 by the server. where is the config file that specifies /opt/www/iredadmin is: example.com/iredadmin

and is it possible to change it? or add in a redirect to a new url location

----

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

2

Re: where does the /iredadmin build from?

Defined in /etc/nginx/templates/iredadmin.tmpl.

3

Re: where does the /iredadmin build from?

first off sorry for late reply kinda forgot a posted this and got very busy.

i was able to edit it and for example get the example.com/iredadmin to go to example.com/iredconfig
but trying something like example.com/mailadmin  it gives a 404 when trying to access it
why is that, i do the same changes in the iredadmin.tmpl file just replace the iredconfig with mailadmin and it doesnt work

also found in there the force redirect to https in redirect_to_https.tmpl
emptied it out because i wont use it, my whole domain is https via the /etc/nginx/conf.d/default.conf file.

server_name example.com;
return 301 https://$server_name$request_uri;

4

Re: where does the /iredadmin build from?

If you search all files under /etc/nginx/, /etc/nginx/templates/iredadmin.tmpl is the only file which defines the URL.

make sure you restart nginx after modification.