Topic: Force iRedAdmin to ONLY listen on specified IP address (Nginx)
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Debian Jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
How do I force iRedAdmin to not listen on the public IP address?
I have tried editing the nginx configuration in /etc/nginx/conf.d/00-default.conf and have changed server_name to 10.123.0.22 default_server
I restarted nginx and it is now listening on https://10.123.0.22/iredadmin/
BUT it is still listening on https://fqdn/iredadmin/
I do not want (under any circumstances) iredadmin to listen on the public IP address/fqdn - from what I have read the changes I made to the nginx configuration should have been enough but it doesn't seem to work.
Thanks in advance for any help.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.