Improve HSTS wording + disable preload by default (fixes #158)

pull/159/head
MattIPv4 2020-07-10 11:21:34 +01:00
parent a66db340f4
commit b9dd381d62
2 changed files with 6 additions and 4 deletions

View File

@ -32,7 +32,9 @@ export default {
enableHttp2Connections: `${common.enable} ${common.http}/2 connections`, enableHttp2Connections: `${common.enable} ${common.http}/2 connections`,
forceHttps: `Force ${common.https}`, forceHttps: `Force ${common.https}`,
hsts: 'HSTS', hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable} Strict Transport Security`, enableStrictTransportSecurity: `${common.enable} Strict Transport Security, requiring HTTPS connections`,
enableIncludeSubDomains: `${common.enable} includeSubDomains directive, requiring HTTPS connections for ALL subdomains`,
enablePreload: `${common.enable} preload directive, telling browsers to always make HTTPS connections only`,
certificationType: 'Certification type', certificationType: 'Certification type',
customCertificate: 'Custom certificate', customCertificate: 'Custom certificate',
letsEncryptEmail: `${common.letsEncrypt} email`, letsEncryptEmail: `${common.letsEncrypt} email`,

View File

@ -101,7 +101,7 @@ THE SOFTWARE.
<div class="checkbox"> <div class="checkbox">
<PrettyCheck v-model="hstsSubdomains" class="p-default p-curve p-fill p-icon"> <PrettyCheck v-model="hstsSubdomains" class="p-default p-curve p-fill p-icon">
<i slot="extra" class="icon fas fa-check"></i> <i slot="extra" class="icon fas fa-check"></i>
includeSubDomains {{ i18n.templates.domainSections.https.enableIncludeSubDomains }}
</PrettyCheck> </PrettyCheck>
</div> </div>
</div> </div>
@ -110,7 +110,7 @@ THE SOFTWARE.
<div class="checkbox"> <div class="checkbox">
<PrettyCheck v-model="hstsPreload" class="p-default p-curve p-fill p-icon"> <PrettyCheck v-model="hstsPreload" class="p-default p-curve p-fill p-icon">
<i slot="extra" class="icon fas fa-check"></i> <i slot="extra" class="icon fas fa-check"></i>
preload {{ i18n.templates.domainSections.https.enablePreload }}
</PrettyCheck> </PrettyCheck>
</div> </div>
</div> </div>
@ -220,7 +220,7 @@ THE SOFTWARE.
enabled: true, enabled: true,
}, },
hstsPreload: { hstsPreload: {
default: true, default: false,
enabled: true, enabled: true,
}, },
certType: { certType: {