Tagged articles
7 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2025 · Operations

Master Nginx Troubleshooting: From 502 Errors to Performance Optimization

This article walks you through ten real-world Nginx failure cases—covering 502 errors, SSL expiration, high concurrency bottlenecks, cache misconfigurations, log rotation issues, load‑balancing mistakes, security gaps, reverse‑proxy quirks, URL rewrite conflicts, and monitoring—while teaching a systematic diagnostic methodology for ops engineers.

502 errorDevOpsOperations
0 likes · 27 min read
Master Nginx Troubleshooting: From 502 Errors to Performance Optimization
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2022 · Operations

Why Do 502 Errors Appear Only on POST Requests After Migrating to PaaS?

After moving an application to a PaaS platform, intermittent 502 errors occur, seemingly only for POST requests, but the root cause lies in Nginx‑Ingress and uwsgi HTTP version mismatches, connection reuse, and retry behavior, which can be diagnosed through traffic analysis and configuration changes.

502 errorHTTP version mismatchIngress
0 likes · 6 min read
Why Do 502 Errors Appear Only on POST Requests After Migrating to PaaS?
Beike Product & Technology
Beike Product & Technology
May 23, 2019 · Backend Development

Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect

This article analyses why seemingly normal PHP‑FPM requests can cause Nginx to return 502 errors, revealing a FastCGI fastcgi_buffer_size bug triggered by warning output, describing the reproduction steps, detailed packet analysis, the underlying protocol mechanics, and practical recommendations for developers and operators.

502 errorNginxOperations
0 likes · 17 min read
Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect