在HTTPS页面提示用户没有设置证书的域名

This commit is contained in:
GoEdgeLab
2024-05-04 17:33:44 +08:00
parent 644255399a
commit 304419da5b
3 changed files with 47 additions and 2 deletions

View File

@@ -415,7 +415,7 @@ Vue.component("ssl-config-box", {
</td>
</tr>
<tr>
<td class="title">选择证书</td>
<td class="title">设置证书</td>
<td>
<div v-if="policy.certs != null && policy.certs.length > 0">
<div class="ui label small basic" v-for="(cert, index) in policy.certs" style="margin-top: 0.2em">

View File

@@ -9,7 +9,12 @@
{$template "/left_menu_with_menu"}
<div class="right-box with-menu">
<p class="comment">提醒HTTP2、证书等信息修改后可能需要清空浏览器缓存后才能浏览效果。</p>
<p class="comment">提醒HTTP/2、证书等信息修改后可能需要清空浏览器缓存后才能浏览效果。</p>
<div v-if="httpsConfig.isOn && missingCertServerNames.length > 0" class="ui message warning">
警告当前网站绑定的以下域名尚未配置证书将无法通过HTTPS协议访问{{missingCertServerNames.join("、")}} 。
</div>
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="serverId" :value="serverId"/>
<input type="hidden" name="serverType" :value="serverType"/>