Reflect updated structure in site configs
This commit is contained in:
parent
fb88c34cde
commit
f6b7e4f635
|
@ -20,7 +20,7 @@ server {
|
|||
# listen on the wrong host
|
||||
server_name www.example.com;
|
||||
|
||||
include h5bp/directive-only/ssl.conf;
|
||||
include h5bp/security/ssl_policy.conf;
|
||||
|
||||
# and redirect to the non-www host (declared below)
|
||||
return 301 https://example.com$request_uri;
|
||||
|
@ -38,7 +38,7 @@ server {
|
|||
# The host name to respond to
|
||||
server_name example.com;
|
||||
|
||||
include h5bp/directive-only/ssl.conf;
|
||||
include h5bp/security/ssl_policy.conf;
|
||||
|
||||
# Path for static files
|
||||
root /var/www/example.com/public;
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
server {
|
||||
listen [::]:443 ssl default_server;
|
||||
listen 443 ssl default_server;
|
||||
include h5bp/directive-only/ssl.conf;
|
||||
include h5bp/security/ssl_policy.conf;
|
||||
return 444;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue