必应池
Home / browser-issues / How to Fix Nginx 502 Bad Gateway in Docker - Switching from Cloudflare Origin Certificate to Let's Encrypt-Docker Container Exits Immediately with Exit Code 137

How to Fix Nginx 502 Bad Gateway in Docker - Switching from Cloudflare Origin Certificate to Let's Encrypt-Docker Container Exits Immediately with Exit Code 137

Updated 2026-07-28 06:14:16browser-issues
How to Fix Nginx 502 Bad Gateway in Docker - Switching from Cloudflare Origin Certificate to Let's Encrypt-Docker Container Exits Immediately with Exit Code 137
Likely symptom
Likely cause
Safe rollback

Verification route

  • Repeat the original action, not only a simplified test case.
  • Restart the app or reload the service after configuration changes.