From f1f9677287b259ea188aa604d6467e4a56f6ceec Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Tue, 30 May 2023 21:11:29 +0100 Subject: [PATCH] Add warning message for ssl off directive --- src/nginxconfig/i18n/en/templates/setup_sections/certbot.js | 3 ++- src/nginxconfig/templates/setup_sections/certbot.vue | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js index bfbc168..68dd0f4 100644 --- a/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/en/templates/setup_sections/certbot.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2023 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -30,6 +30,7 @@ const certbot = 'Certbot'; export default { commentOutSslDirectivesInConfiguration: `Comment out ${common.ssl} related directives in the configuration:`, + sslOffDeprecationWarning: `This command will add a temporary ssl off directive to ensure that ${common.ssl} directives are not active. This may cause ${common.nginx} to emit a warning, which is safe to ignore. The directive will be removed once ${certbot} is configured.`, reloadYourNginxServer: `Reload your ${common.nginx} server:`, obtainSslCertificatesFromLetsEncrypt: `Obtain ${common.ssl} certificates from ${common.letsEncrypt} using ${certbot}:`, uncommentSslDirectivesInConfiguration: `Uncomment ${common.ssl} related directives in the configuration:`, diff --git a/src/nginxconfig/templates/setup_sections/certbot.vue b/src/nginxconfig/templates/setup_sections/certbot.vue index 3d9ff60..126a732 100644 --- a/src/nginxconfig/templates/setup_sections/certbot.vue +++ b/src/nginxconfig/templates/setup_sections/certbot.vue @@ -1,5 +1,5 @@