Nginx reverse proxy guides - Page 2

Run Nginx in front of backend services with upstreams, proxy headers, WebSockets, backend ports, timeouts, and failure checks.

Curated guides

Nginx reverse proxy guides

32 matched guides, best match first. Page 2 of 3.

Nginx logo routing HTTP/2 connections to web, mobile, video, and content clients

How to Enable HTTP/2 in Nginx

HTTP/2 in Nginx has a version split that matters before editing a live HTTPS server block. Nginx 1.25.1 introduced the standalone http2 on; directive and deprecated the older...

Published

Nginx logo with a highlighted location priority routing diagram

Nginx Location Block Priority Explained

Nginx location block priority explains why a request such as /assets/app.css may be handled by a regex block even when a normal location /assets/ block exists. The matching...

Published

Nginx logo routing dotted traffic paths to multiple backend server panels

Configure Nginx Upstream Load Balancing

Nginx upstream load balancing lets one public virtual host send traffic to two or more backend servers. It is useful when an application runs on several ports, containers,...

Published

Nginx logo with request log panels showing successful checks and error alerts

Nginx Access and Error Logs Guide

Nginx access logs and error logs remove guesswork when a site returns the wrong page, hides a static file, breaks a reverse proxy, or fails after a configuration...

Published

Nginx logo with 404 warning and file routing diagram for troubleshooting Not Found errors

How to Fix Nginx 404 Not Found

An Nginx 404 Not Found error means the request reached a web server, but the active Nginx configuration or the upstream application could not match it to a...

Published

Nginx logo with browser windows showing www redirect arrows between domains

Nginx Redirect WWW to Non-WWW or Non-WWW to WWW

An Nginx redirect from www to non-www is usually a server-block decision, not an application rewrite. A small server block can catch www.example.com, send a permanent 301 response,...

Updated ( Published )

Nginx logo with server rack and speedometer representing TCP Fast Open performance optimization

How to Enable TCP Fast Open in Nginx

Enable TCP Fast Open in Nginx only when the listener can safely accept request data before the TCP handshake fully completes. The workflow is to enable Linux server-side...

Updated ( Published )

Nginx logo with compression visualization showing files being reduced in size through a mechanical press

Enable Gzip Compression in Nginx

Gzip compression in Nginx reduces text-based HTTP responses before they travel from your server to the browser. HTML, CSS, JavaScript, JSON, XML, and SVG usually shrink enough to...

Updated ( Published )

Nginx logo with HTTP and HTTPS security padlocks showing upgrade-insecure-requests directive workflow

Configure upgrade-insecure-requests in NGINX

Hard-coded HTTP asset URLs are one of the last problems that surface after an HTTPS migration. WordPress posts, legacy templates, CDN snippets, and database records can still point...

Updated ( Published )