Discourse has stopped opening

well, you definitely want to make sure it isn’t running, using service nginx stop or at the very least uninstall it, if it is uninstalled it won’t utilize its configuration files and thus shouldn’t interfere with Discourse.

Be sure to reboot after uninstalling though to make sure it frees up port 80/443