Proxy and Dev Tools PhpStorm 6 min read

Fix Nginx 502 Bad Gateway and upstream keepalive bugs in PhpStorm

Nginx returns sporadic 502 errors under load because upstream keepalive pools reset or proxy_http_version stays at 1.0. Audit nginx.conf and upstream blocks offline inside PhpStorm before reloading production edge proxies.

Engineering context

Why local IDE checks beat late CI failures

Applies to IntelliJ Platform 2025.2+ through 2026.3+.

Forgetting proxy_set_header Connection "" with upstream keepalive closes backend sockets prematurely. Catching these configuration bugs inside PhpStorm takes seconds instead of waiting 15 minutes for a remote CI pipeline or rolling back a broken deploy. Every Zovo plugin runs 100% locally on IntelliJ Platform 2025.2+ through 2026.3+ so sensitive configs never leave disk.

Need custom internal rules for nginx upstream 502 audit or an air-gapped signed ZIP build? Book a Public Feature Sprint ($4,999) or a Private Fork (from $25,000) on /custom/.

Implementation walkthrough

Four-step production setup

Tested against JetBrains Plugin Verifier and offline enterprise policies.

1

Install the matching Zovo inspector in PhpStorm

Open Settings, select Plugins, and install the Zovo plugin directly from JetBrains Marketplace or your internal updatePlugins.xml repository. Core parsing stays free forever with no login.

2

Scan target configuration files before git commit

Audit nginx.conf and upstream blocks offline inside PhpStorm before reloading production edge proxies. Review severity badges in the sidebar tool window and jump straight to the exact line causing drift or security exposure.

3

Export structured JSON or Markdown findings for PR review

With Personal Pro ($29/yr) or Organization Pro ($59/yr per seat), export audit reports straight into pull requests or InfoSec tickets without uploading repository files to third-party clouds.

4

Lock team standards across CI and air-gapped workstations

Pair local IDE checks with your repository policy or commission a custom PSI inspection pack so every engineer gets identical feedback on day one.

upstream.conf (HTTP/1.1 keepalive and sane timeouts)
upstream app_pool {
  server 10.0.1.12:8080 max_fails=3 fail_timeout=15s;
  keepalive 32;
}
proxy_http_version 1.1;
proxy_set_header Connection "";

Plugins referenced in this guide

More PhpStorm plugins

NGINX Upstream Auditor icon

NGINX Upstream Auditor

com.notemods.nginx-upstream-auditor
Queued Proxy and Dev Tools

Parse NGINX upstream server pools, catch disabled passive health checks, single-server pools without backup, missing keepalive connections, and missing shared memory zones inside your JetBrains IDE.

Nginx Config Auditor icon

Nginx Config Auditor

com.notemods.nginx-config-auditor
Queued Proxy and Dev Tools

Parse nginx.conf server blocks, inspect proxy upstreams, and catch TLS and header security gaps inside your JetBrains IDE.

CSP Header Validator icon

CSP Header Validator

com.notemods.csp-header-validator
Live ID 36726 Security and CI

Parse Content-Security-Policy headers, catch XSS bypass risks, and grade CSP strength inside your JetBrains IDE.

CORS Policy Auditor icon

CORS Policy Auditor

com.notemods.cors-policy-auditor
Live ID 36724 Security and CI

Parse HTTP CORS response headers, catch wildcard credential leaks and null origin bypasses, and grade CORS posture inside your JetBrains IDE.

FREEMIUM Native JetBrains Marketplace licensing

$29/yr Personal · $59/yr Org (30-day free trial, zero telemetry)

Core parsers and sidebar inspectors stay free forever with no account required. Upgrade inside JetBrains Marketplace for deep security audits, secret leak scanners, breaking-change guards, and JSON or Markdown report exports. Need a private air-gapped plugin or custom PSI inspection engine for your company?

Related JetBrains engineering guides

View all 65 guides