Site is accessible on the IP address when not following th install guide

I use this for a site to direct the bots hitting it by raw IP to a special page:

server {
        listen 80;
        # listen [::]:80;

        server_name ~^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+;

        root /var/www/ip-address;
        default_type text/plain;
        index nothing.doing;
        location / {
                try_files $uri /nothing.doing;
        }
}

BUT I’m with the others in saying I can’t reproduce access by IP for my private forum either. I get the redirect. And mine’s got no special configuration, no cloudflare, and is literally running a $0 per month virtual server that gives me no frills.

3 Likes