24 lines
767 B
Nginx Configuration File
24 lines
767 B
Nginx Configuration File
# ----------------------------------------------------------------------
|
|
# | Default behavior for unknown hosts |
|
|
# ----------------------------------------------------------------------
|
|
#
|
|
# Drop requests for unknown hosts.
|
|
#
|
|
# If no default server is defined, Nginx will use the first found server.
|
|
# To prevent host header attacks, or other potential problems when an unknown
|
|
# server name is used in a request, it's recommended to drop the request
|
|
# returning 444 "No Response".
|
|
|
|
server {
|
|
listen [::]:443 ssl http2 default_server;
|
|
listen 443 ssl http2 default_server;
|
|
|
|
server_name _;
|
|
|
|
include h5bp/ssl/ssl_engine.conf;
|
|
include h5bp/ssl/certificate_files.conf;
|
|
include h5bp/ssl/policy_intermediate.conf;
|
|
|
|
return 444;
|
|
}
|