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

Out of the box, trying to access via IP will return with a 301 Redirect to the correct domain:

$ curl 159.203.68.6 -I
HTTP/1.1 301 Moved Permanently
Server: nginx/1.16.1
Date: Mon, 29 Jun 2020 20:24:41 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
Location: https://falcoland.falco.dev/

By

Is your proposal to change from a 301 to a 404?

3 Likes