I am wanting to try out Nginx as I heard its faster for wordpress sites so I used the "Webserver Settings > Webserver Domain Conf" in the CWP admin panel and set one of my domains to "Nginx & Varnish & Apache + php-fpm". This domain is now getting an error "502 Bad Gateway". Tried restarting Apache, uninstalled and reinstalled SSL cert, opened multiple ports, and even turned off Mod Security for this domain and nothing has worked. Here is the error log im getting.....
2020/06/30 00:11:16 [error] 10151#10151: *16156 connect() failed (111: Connection refused) while connecting to upstream, client: xx.xxx.xxx.xxx, server: sunsetterwaste.com, request: "GET / HTTP/1.1", upstream: "https://127.0.0.1:9980/", host: "sunsetterwaste.com"
Any help is greatly appreciated.