Tag

sni

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 Gatewayconfigurationnginx
0 likes · 4 min read
Resolving 502 Bad Gateway Errors in Nginx Reverse Proxy Caused by Missing SNI Configuration
Ops Development Stories
Ops Development Stories
Jul 10, 2023 · Operations

Why Nginx Reverse Proxy Fails with HTTPS and How to Fix SSL SNI Errors

This article walks through a real‑world Nginx reverse‑proxy SSL issue, explains the root cause of 502 and handshake failures caused by missing SNI support, and provides step‑by‑step configuration changes and code snippets to resolve the problem.

configurationnginxreverse-proxy
0 likes · 8 min read
Why Nginx Reverse Proxy Fails with HTTPS and How to Fix SSL SNI Errors
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Aug 16, 2016 · Backend Development

Why Nginx HTTPS Can Fail: Hidden SNI and SSL Config Pitfalls Explained

This article uses a foot‑massage shop analogy to explain why deploying HTTPS behind a 7‑layer proxy can encounter hidden pitfalls, detailing SNI requirements, the dangers of binding multiple certificates to the same IP + port, and the need for consistent SSL settings across all Nginx virtual hosts.

HTTPSconfigurationnginx
0 likes · 7 min read
Why Nginx HTTPS Can Fail: Hidden SNI and SSL Config Pitfalls Explained