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

23 lines
399 B
Nginx Configuration File
Raw Permalink 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 _;
2021-06-14 12:43:22 +02:00
include h5bp/tls/ssl_engine.conf;
include h5bp/tls/certificate_files.conf;
include h5bp/tls/policy_balanced.conf;
2019-02-10 22:15:33 +01:00
return 444;
}