How to Disable Direct IP Access in Nginx (HTTP & HTTPS)

Find out how to use Nginx to disable direct IP access to your websites. In particular, I’ll cover these three solutions that will turn away users, malicious or not, when they try to access your server via IP:- ssl_reject_handshake approach for Nginx 1.19.4 and newer (recommended solution) Self-signed SSL certificate approach for Nginx older than […]

How to Disable Direct IP Access in Nginx (HTTP & HTTPS) Read More »