mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-10-15 02:49:20 +08:00
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:
@@ -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">
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user