digitalocean / nginxconfig.io

⚙️ NGINX config generator on steroids 💉
https://do.co/nginxconfig
MIT License
27.42k stars 2.01k forks source link

Restrict access via IP and only allow access via a domain name #444

Closed cddqssc closed 11 months ago

cddqssc commented 11 months ago

Information

Help request

Problem

Is it possible to configure Nginx to restrict access via IP and only allow access via a domain name? Currently, I haven't found an option for this. Can it be added? Thank you.

What I have tried

Screenshots