集群设置--网站设置中“处理未绑定域名方式”支持跳转到网址

This commit is contained in:
GoEdgeLab
2024-03-16 08:59:24 +08:00
parent ccd628d79e
commit 15089820e3
2 changed files with 41 additions and 3 deletions

View File

@@ -27,8 +27,11 @@
<td class="color-border">处理未绑定域名方式</td>
<td>
<radio name="httpAllDomainMismatchActionCode" :v-value="'page'" v-model="httpAllDomainMismatchActionCode">显示提示页面</radio> &nbsp;
&nbsp; <radio name="httpAllDomainMismatchActionCode" :v-value="'close'" v-model="httpAllDomainMismatchActionCode">关闭连接</radio>
&nbsp; <radio name="httpAllDomainMismatchActionCode" :v-value="'redirect'" v-model="httpAllDomainMismatchActionCode">跳转到网址</radio> &nbsp;
<radio name="httpAllDomainMismatchActionCode" :v-value="'close'" v-model="httpAllDomainMismatchActionCode">关闭连接</radio>
<p class="comment" v-if="httpAllDomainMismatchActionCode == 'page'">显示提示内容。</p>
<p class="comment" v-if="httpAllDomainMismatchActionCode == 'redirect'">跳转到一个特定URL。</p>
<p class="comment" v-if="httpAllDomainMismatchActionCode == 'close'">直接关闭网络连接,不提示任何内容。</p>
</td>
</tr>
@@ -48,6 +51,14 @@
</td>
</tr>
<tr v-show="config.httpAll.matchDomainStrictly && httpAllDomainMismatchActionCode == 'redirect'">
<td class="color-border">跳转目标网址URL *</td>
<td>
<input type="text" placeholder="https://..." name="httpAllDomainMismatchActionRedirectURL" v-model="httpAllDomainMismatchActionRedirectURL"/>
<p class="comment">必须以http://或者https://开头,支持使用变量。</p>
</td>
</tr>
<tr v-show="config.httpAll.matchDomainStrictly">
<td>允许例外的域名</td>
<td>