Nginx TLS guides
Use this path when the site needs to move from plain HTTP to a working HTTPS setup. It focuses on certificates, redirects, renewal checks, and Nginx SSL configuration that survives reloads.
Curated guides
Nginx TLS guides
13 matched guides, newest first. Page 1 of 2.

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...

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,...

How to Restore Real Client IPs in Nginx Behind Cloudflare or a Reverse Proxy
Restoring real client IPs in Nginx becomes necessary when Cloudflare, a load balancer, a CDN, or an internal reverse proxy connects to the origin first. Without a trusted...

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,...

Enable the Nginx Sendfile Directive
Large static-file responses can make Nginx spend CPU time copying data it does not need to inspect. To enable sendfile in Nginx, set the sendfile directive so direct...

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...

Enable Nginx reuseport for HTTP, Stream and QUIC Listeners
Busy Nginx servers can spend surprising time coordinating which worker accepts the next connection. The reuseport parameter on the Nginx listen directive uses the operating system's SO_REUSEPORT support...

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...

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...

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...

How to Enable HTTP/3 and QUIC in Nginx
HTTP/3 in Nginx is a version and build check before it is a configuration change. To enable HTTP/3 and QUIC in Nginx, the running binary must support the...

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...