Reverse Proxy
A server that sits between clients and backend servers, forwarding client requests and returning server responses. Reverse proxies provide SSL termination, caching, compression, and load balancing. Nginx, HAProxy, and Cloudflare are common reverse proxies. Errors between the proxy and backend produce 502 (Bad Gateway), 503 (Unavailable), or 504 (Gateway Timeout) responses.
관련 프로토콜
가이드에서 언급됨
HTTP Proxy Headers: X-Forwarded-For, Via, and Forwarded
HTTP Fundamentals
Debugging Timeout Errors: 408 and 504
Debugging & Troubleshooting
HTTP Caching Strategy for APIs
Performance & Optimization
Migrating from REST to gRPC
Migration & Upgrades
Reverse Proxy Configuration: Nginx, Caddy, and HAProxy
Production Infrastructure
TLS Termination: Where to Terminate HTTPS and Why
Production Infrastructure
Custom Error Pages: 404, 500, 502, and Maintenance Pages
Production Infrastructure
API Gateway Patterns: Architecture and Use Cases
API Gateway Patterns
관련 시나리오
502 Bad Gateway in Nginx Reverse Proxy
HTTP
502 Bad Gateway Behind Cloudflare
HTTP
500 Internal Server Error in Django
HTTP
500 Internal Server Error in PHP/Apache
HTTP
413 Content Too Large — File Upload Rejected
HTTP
504 Gateway Timeout — Upstream Not Responding
HTTP
431 Request Header Fields Too Large — Cookie Overflow
HTTP
502 Bad Gateway — WebSocket Upgrade Failure Through Proxy
HTTP
1009 Message Too Big — Payload Size Limit
WebSocket
1002 Protocol Error — Invalid Frame from Proxy
WebSocket
정의 출처
관련 항목
Status Code
HTTP Concepts
API Gateway
API Design
SSRF (Server-Side Request Forgery)
Security
Load Balancer
Networking
Proxy Server (Forward Proxy)
Networking
CDN (Content Delivery Network)
Caching & Performance
gRPC-Web
Real-Time & Streaming
Sidecar Proxy
Infrastructure
Ingress Controller
Infrastructure
TLS Termination
Infrastructure
X-Forwarded-For
Web Standards
gRPC-Gateway
gRPC & RPC
SIP Proxy Server
SIP & VoIP
Layer 7 Load Balancing
Load Balancing & Proxying
Forward Proxy
Load Balancing & Proxying
PROXY Protocol
Load Balancing & Proxying
Nginx (as Reverse Proxy)
Load Balancing & Proxying