Chatmail and Static Website on Same Server

I set up a chatmail relay on a subdomain, chat.example.com. I skipped uploading a webpage by setting the www_folder value to disabled.

I would like to use the same server to host a static website on the root domain, example.com. Is it just a matter of modifying the nginx config file to add my root domain in there? I feel like that would be too simple.

Thank you!

Turns out it just might be that simple! I’ve added a new server block with the root domain and it is serving static content over port 80. Hoping when I generate some certificates that it doesn’t mess with any of the chatmail certs.