← All Kali Issues
Nginx

502 Bad Gateway

S Service High

🔴 Error Message

Nginx returning 502 error

📖 What This Means

Backend application not responding.

🔧 Step-by-Step Fix

  1. Check backend: systemctl status php*-fpm
  2. Check socket: ls /run/php/
  3. Check logs: tail /var/log/nginx/error.log