2019-02-01 13:04:01 +01:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# | Default behavior for unknown hosts |
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
#
|
2016-06-08 09:35:40 +02:00
|
|
|
# Drop requests for unknown hosts
|
|
|
|
#
|
2019-05-14 19:02:21 +02:00
|
|
|
# If no default server is defined, Nginx will use the first found server.
|
2016-06-30 14:32:40 +02:00
|
|
|
# To prevent host header attacks, or other potential problems when an unknown
|
2019-05-15 18:38:05 +02:00
|
|
|
# server name is used in a request, it's recommended to drop the request
|
|
|
|
# returning 444 "No Response".
|
2016-06-08 09:35:40 +02:00
|
|
|
|
|
|
|
server {
|
2019-02-11 19:12:17 +01:00
|
|
|
listen [::]:443 ssl http2 default_server;
|
|
|
|
listen 443 ssl http2 default_server;
|
2019-02-01 13:04:01 +01:00
|
|
|
|
|
|
|
server_name _;
|
|
|
|
|
2018-11-25 19:13:33 +01:00
|
|
|
include h5bp/ssl/ssl_engine.conf;
|
2019-02-01 13:04:01 +01:00
|
|
|
include h5bp/ssl/certificate_files.conf;
|
2018-11-25 19:13:33 +01:00
|
|
|
include h5bp/ssl/policy_intermediate.conf;
|
2019-02-01 13:04:01 +01:00
|
|
|
|
2016-06-08 09:35:40 +02:00
|
|
|
return 444;
|
|
|
|
}
|