Add missing semicolons in `ssl.example.com`
Close h5bp/server-configs-nginx#52.
This commit is contained in:
parent
fc610f495a
commit
8510caa5c6
|
@ -7,7 +7,7 @@ server {
|
||||||
# listen on both hosts
|
# listen on both hosts
|
||||||
server_name example.com www.example.com;
|
server_name example.com www.example.com;
|
||||||
|
|
||||||
include h5bp/direcive-only/ssl.conf
|
include h5bp/direcive-only/ssl.conf;
|
||||||
|
|
||||||
# and redirect to the https host (declared below)
|
# and redirect to the https host (declared below)
|
||||||
# avoiding http://www -> https://www -> https:// chain.
|
# avoiding http://www -> https://www -> https:// chain.
|
||||||
|
@ -20,7 +20,7 @@ server {
|
||||||
# listen on the wrong host
|
# listen on the wrong host
|
||||||
server_name www.example.com;
|
server_name www.example.com;
|
||||||
|
|
||||||
include h5bp/direcive-only/ssl.conf
|
include h5bp/direcive-only/ssl.conf;
|
||||||
|
|
||||||
# and redirect to the non-www host (declared below)
|
# and redirect to the non-www host (declared below)
|
||||||
return 301 https://example.com$request_uri;
|
return 301 https://example.com$request_uri;
|
||||||
|
@ -32,7 +32,7 @@ server {
|
||||||
# The host name to respond to
|
# The host name to respond to
|
||||||
server_name example.com;
|
server_name example.com;
|
||||||
|
|
||||||
include h5bp/direcive-only/ssl.conf
|
include h5bp/direcive-only/ssl.conf;
|
||||||
|
|
||||||
# Path for static files
|
# Path for static files
|
||||||
root /sites/example.com/public;
|
root /sites/example.com/public;
|
||||||
|
|
Loading…
Reference in New Issue