in https://docs.jexactyl.com/#/latest/panel/webservers/nginx, there is a warning saying:
Make sure to replace <domain> with your own domain in this config file. Please also note that this configuration is for NGINX with SSL enabled. If you want to use Apache as a webserver, or do not want to use SSL, please refer to the other webserver instructions.
It says that this configuration is for NGINX with SSL, not without SSL (the configuration is correct, however)