Reflect updated structure in site configs

This commit is contained in:
Léo Colombaro 2018-11-23 18:21:34 +01:00
parent fb88c34cde
commit f6b7e4f635
No known key found for this signature in database
GPG Key ID: 687B480A6D4F735F
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;
}