Very new to nginx especially when it comes to managing the configuration.
I have started with a clean installation of Ubuntu 24.04.
Then I installed iRedMail using their installation package and instructions which installed MariaDB, Roundcube, iRedMail etc.
I have a registered domain name and installed Certbot and installed the SSL certificate.
All good so far. When directing to the domain name, I am directed to https://domain.com/mail which is the RoundCube logon page. If I change 'mail' to 'iredadmin' I am directed to the iRedMail admin logon page.
Now, I have installed Wordpress and... if I change 'mail' to 'wordpress' I am directed to the Wordpress site...
BUT... I want to be able to enter the domain name and be directed to the wordpress site rather than the roundcube.
I've looked at the nginx.conf file, the sites-available and sites-enabled folders and cannot work out what controls the direction to the first page based on the domain name.
Probably a quick solution for an nginx expert, so I would be grateful for a pointer.
Cheers