diff --git a/public/assets/js/app.js b/public/assets/js/app.js index 3154fd7..1a5692e 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -47,6 +47,8 @@ cert_type: 'letsencrypt', ssl_profile: 'intermediate', hsts: true, + hsts_subdomains: true, + hsts_preload: true, email: '', ssl_certificate: '', ssl_certificate_key:'', @@ -408,6 +410,14 @@ return $scope.isHTTPS() && $scope.data.hsts; }; + $scope.isHSTSSubdomains = function() { + return $scope.isHSTS() && $scope.data.hsts_subdomains; + }; + + $scope.isHSTSPreload = function() { + return $scope.isHSTSSubdomains() && $scope.data.hsts_preload; + }; + $scope.isResolverCloudflare = function() { return $scope.isHTTPS() && $scope.data.resolver_cloudflare; }; diff --git a/public/index.html b/public/index.html index d091285..c884622 100644 --- a/public/index.html +++ b/public/index.html @@ -214,6 +214,14 @@ +