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

23 lines
403 B
Nginx Configuration File
Raw Normal View History

2019-02-10 22:15:33 +01:00
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;
2019-02-10 22:15:33 +01:00
server_name _;
include h5bp/ssl/ssl_engine.conf;
include h5bp/ssl/certificate_files.conf;
include h5bp/ssl/policy_intermediate.conf;
return 444;
}