2016-06-08 09:35:40 +02:00
|
|
|
# Drop requests for unknown hosts
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# servername is used in a request, it's recommended to drop the request
|
2016-06-08 09:35:40 +02:00
|
|
|
# returning 444 "no response".
|
|
|
|
|
|
|
|
server {
|
2017-01-01 21:35:59 +01:00
|
|
|
listen [::]:443 ssl default_server;
|
2016-06-08 09:35:40 +02:00
|
|
|
listen 443 ssl default_server;
|
2018-11-25 19:13:33 +01:00
|
|
|
include h5bp/ssl/ssl_engine.conf;
|
|
|
|
include h5bp/ssl/policy_intermediate.conf;
|
2016-06-08 09:35:40 +02:00
|
|
|
return 444;
|
|
|
|
}
|