Tag

502 Bad Gateway

0 views collected around this technical thread.

Practical DevOps Architecture
Practical DevOps Architecture
Mar 27, 2025 · Backend Development

Resolving 502 Bad Gateway Errors in Nginx Reverse Proxy Caused by Missing SNI Configuration

This article explains why Nginx reverse‑proxying to an HTTPS upstream can return a 502 Bad Gateway error when SNI is not sent, shows the relevant SSL handshake log, and provides a complete configuration example—including enabling proxy_ssl_server_name—to fix the issue and avoid reload‑related socket problems.

502 Bad GatewaySSLconfiguration
0 likes · 4 min read
Resolving 502 Bad Gateway Errors in Nginx Reverse Proxy Caused by Missing SNI Configuration
Practical DevOps Architecture
Practical DevOps Architecture
Feb 28, 2022 · Operations

Resolving Nginx 502 Bad Gateway Errors with SSL Handshake Issues and Buffer Configuration

This article analyzes 502 Bad Gateway errors caused by SSL handshake failures in Nginx, presents the relevant error logs and curl output, and provides a detailed configuration example—including buffer sizes, client limits, and proxy settings—to fix the issue.

502 Bad GatewaySSL handshakebackend
0 likes · 3 min read
Resolving Nginx 502 Bad Gateway Errors with SSL Handshake Issues and Buffer Configuration