Add warning for ssl off directive during Cerbox setup (#431)

Co-authored-by: David Carlson Berg <davidcarlsonberg@users.noreply.github.com>
This commit is contained in:
Matt Cowley
2023-05-31 21:04:41 +01:00
committed by GitHub
parent 54a0e57a5e
commit 040cabec23
14 changed files with 50 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<!--
Copyright 2022 DigitalOcean
Copyright 2023 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -35,9 +35,9 @@ THE SOFTWARE.
<template v-if="!$parent.$props.data.hasUserInteraction || expanded">
<div v-if="$parent.$props.data.hasUserInteraction" class="message is-warning">
<div class="message-body">
<p class="message-body">
{{ $t('templates.domainSections.presets.itLooksLikeYouCustomisedTheConfig') }}
</div>
</p>
</div>
<div class="buttons-group">

View File

@@ -1,5 +1,5 @@
<!--
Copyright 2022 DigitalOcean
Copyright 2023 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -62,7 +62,7 @@ THE SOFTWARE.
<span
class="message-body"
v-html="$t('templates.globalSections.security.whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality')"
></span>
/>
</label>
</div>
</div>

View File

@@ -1,5 +1,5 @@
<!--
Copyright 2022 DigitalOcean
Copyright 2023 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@@ -37,6 +37,13 @@ THE SOFTWARE.
:cmd="`sed -i -r 's/(listen .*443)/\\1; #/g; s/(ssl_(certificate|certificate_key|trusted_certificate) )/#;#\\1/g; s/(server \\{)/\\1\\n ssl off;/g' ${sitesAvailable}`"
@copied="codeCopiedEvent('Disable ssl directives')"
></BashPrism>
<div class="text message is-warning">
<p
class="message-body"
v-html="$t('templates.setupSections.certbot.sslOffDeprecationWarning')"
/>
</div>
</li>
<li>