Nginx reverse proxy guides

Use this path when Nginx sits in front of another service. These guides cover upstreams, proxy headers, WebSockets, backend ports, timeouts, and the checks that make proxy failures easier to isolate.

Curated guides

Nginx reverse proxy guides

32 matched guides, newest first. Page 1 of 3.

Nginx reverse proxy architecture diagram showing client devices routing through nginx server to multiple backend application servers

How to Create an Nginx Reverse Proxy

A reverse proxy becomes useful as soon as a local app needs a public domain, TLS, and one clean entry point. An Nginx reverse proxy gives private Node.js,...

Updated ( Published )

Nginx logo with WebSocket routing diagram connecting clients to backend services

How to Configure an Nginx WebSocket Proxy

Nginx WebSocket proxying breaks when a normal Nginx reverse proxy handles regular HTTP requests but does not pass the upgrade handshake to the backend. The page may load,...

Published

Nginx logo connected to proxy cache and upstream response panels

How to Configure Nginx Proxy Cache

Nginx proxy cache stores selected upstream responses on disk so repeated requests can be served from Nginx instead of hitting the backend every time. It is useful for...

Published

Nginx logo connected to TLS settings, HTTPS security, and certificate verification icons

How to Configure TLS Settings in Nginx

Default HTTPS snippets become hard to trust when Nginx inherits broad protocol lists from copied server blocks, Certbot includes, or hosting-panel templates. When you configure TLS settings in...

Published

Nginx logo with a document showing a port change from 80 to 8080 and network gear icons representing port configuration and routing.

How to Change NGINX Ports

Changing the Nginx port starts with the listen directive inside each server block, not with a global service setting. To change Nginx port 80 to 8080, update every...

Updated ( Published )

NGINX security headers diagram showing Strict-Transport-Security, Content-Security-Policy, and X-Content-Type-Options flowing from NGINX hexagon to security shield with padlock

How to Configure NGINX Security Headers

Security headers tell browsers how to handle HTTPS, framing, MIME sniffing, referrer data, resource loading, and browser APIs before application code runs. Configuring NGINX security headers is usually...

Updated ( Published )

NGINX logo alongside browser windows with redirect arrows showing URL redirection

How to Redirect URLs in Nginx

Redirects are the cleanup layer for old URLs, domain moves, HTTPS enforcement, and canonical host changes. In NGINX, most URL redirects should use return because it sends the...

Updated ( Published )

Nginx access control diagram showing allowed and blocked IP traffic to a server

How to Allow or Block IP Addresses in Nginx

IP-based access rules are useful when an admin path, staging site, partner endpoint, or private dashboard should not be reachable by every visitor that can reach the Nginx...

Published