"Reload : nginx [Failed]" upon creating a site

ee site create xxxxxxxxx.io --wp

Gives me the error: https://pastebin.com/ytG3NKMR

When running the command: tail -n100 /var/log/ee/ee.log

This is my output: https://pastebin.com/V2FAmshe

Any help would be greatly appreciated! Domain has been removed for privacy.

I’ve managed to fix this issue with the following commands:

apt-get remove --purge nginx nginx-full nginx-common ee stack remove ee stack install