Fix nginx config when not using SSL

Previously, setting the ssl_enabled attribute to false would still build an nginx config that required SSL.