25 lines
462 B
Nginx Configuration File
25 lines
462 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 quic reuseport;
|
|
listen 443 quic reuseport;
|
|
listen [::]:443 ssl http2 default_server;
|
|
listen 443 ssl http2 default_server;
|
|
|
|
server_name _;
|
|
|
|
include h5bp/tls/ssl_engine.conf;
|
|
include h5bp/tls/certificate_files.conf;
|
|
include h5bp/tls/policy_balanced.conf;
|
|
|
|
return 444;
|
|
}
|