server-configs-nginx/test/vhosts/default.conf

23 lines
403 B
Nginx Configuration File

server {
listen [::]:80 default_server deferred;
listen 80 default_server deferred;
server_name _;
return 301 https://$host$request_uri;
}
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;
}