I was having an issue with loading a CEF site over Nginx Proxy Manager, getting a 502 bad gateway over and over again.
I checked the logs and found this error:
2023/08/08 04:10:05 [error] 1948649#1948649: *2710329 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 206.127.30.146, server: aui-stg.clarityclient.com, request: "GET / HTTP/2.0", upstream: "https://10.100.225.45:443/", host: "aui-stg.clarityclient.com"
I implemented the solution in the stack overflow article listed at the bottom of this article.
By adding the two directives indicated below to the advanced section of the proxy host configuration I was able to fix the problem.
💥 IMPORTANT: BE SURE TO REPLACE aui-stg.clarityclient.com WITH THE SITE YOU ARE SETTING UP! 💥
proxy_ssl_server_name on;
proxy_ssl_name aui-stg.clarityclient.com;
