adding nginx modularity

This commit is contained in:
Dmytro Makovey
2017-09-21 23:56:15 -07:00
parent f86391f839
commit b3d961a3dc
5 changed files with 9 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ http {
add_header Strict-Transport-Security max-age=15768000;
include http.d/*.conf;
if ($scheme = http) {
return 301 https://$host$request_uri;
}
@@ -45,3 +47,5 @@ http {
}
}
}
include extra.d/*.conf;