Skip to content

Instantly share code, notes, and snippets.

@ryd994
Created June 20, 2016 19:57
Show Gist options
  • Save ryd994/e7b1a1e52ec9d5d82f89d09fef2df448 to your computer and use it in GitHub Desktop.
Save ryd994/e7b1a1e52ec9d5d82f89d09fef2df448 to your computer and use it in GitHub Desktop.
nginx-default-reject.conf
server {
listen [::]:80 default_server ipv6only=off;
listen [::]:443 default_server ipv6only=off ssl;
ssl_certificate conf.d/default.crt;
ssl_certificate_key conf.d/default.key;
return 404;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment