I’d like to disable roundcube as I’m hosting a webmail client (squirrelmail) on another server. I want to keep https running on the MIAB server without having roundcube available. What’s the easiest way to get that done?
you can put nginx config files in the /home/user-data/www directory:
Example file path: /home/user-data/www/domain.com.conf
Example content:
location /mail{
deny all;
return 503;
}
503 = Access Denied in HTTP code.
After setting the above file (which might not work 100% as it is just an example) you will need to run /home/youruseraccount/mailinabox/tools/webupdate.py
to update the nginx config.