Please copy the full nginx configuration example from this page: Reverse proxy setup with basic authentication for Websocket
Replace the content of nginx.conf file, then change SSL certificate and key paths, domain and WCS IP address in proxy_pass directive.
If nginx still does not start...