23 lines
391 B
Nginx Configuration File
23 lines
391 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 default_server;
|
||
|
listen 443 ssl default_server;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
include h5bp/ssl/ssl_engine.conf;
|
||
|
include h5bp/ssl/certificate_files.conf;
|
||
|
include h5bp/ssl/policy_intermediate.conf;
|
||
|
|
||
|
return 444;
|
||
|
}
|