diff --git a/web/public/js/components.js b/web/public/js/components.js index 726cf2ef..b1e7eea7 100755 --- a/web/public/js/components.js +++ b/web/public/js/components.js @@ -1711,7 +1711,7 @@ Vue.component("ssl-config-box", { if (hsts == null) { hsts = { isOn: false, - maxAge: 0, + maxAge: 31536000, includeSubDomains: false, preload: false, domains: [] @@ -2101,6 +2101,25 @@ Vue.component("ssl-config-box", {

+ + HSTS有效时间(max-age) + +
+
+ +
+
+ 秒 +
+
{{hsts.days}}天
+
+

+ [1年/365天]     + [6个月/182.5天]     + [1个月/30天] +

+ + HSTS包含子域名(includeSubDomains) diff --git a/web/public/js/components/server/ssl-config-box.js b/web/public/js/components/server/ssl-config-box.js index 9fc5cb5a..52df15c0 100644 --- a/web/public/js/components/server/ssl-config-box.js +++ b/web/public/js/components/server/ssl-config-box.js @@ -45,7 +45,7 @@ Vue.component("ssl-config-box", { if (hsts == null) { hsts = { isOn: false, - maxAge: 0, + maxAge: 31536000, includeSubDomains: false, preload: false, domains: [] @@ -435,6 +435,25 @@ Vue.component("ssl-config-box", {

+ + HSTS有效时间(max-age) + +
+
+ +
+
+ 秒 +
+
{{hsts.days}}天
+
+

+ [1年/365天]     + [6个月/182.5天]     + [1个月/30天] +

+ + HSTS包含子域名(includeSubDomains)