当HTTP和HTTPS端口冲突时提示用户

This commit is contained in:
GoEdgeLab
2023-03-17 11:11:54 +08:00
parent 876b2479d1
commit 377d6aa91b
4 changed files with 46 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
<td>
<span class="red" v-if="httpsConfig.isOn && (httpsConfig.addresses == null || httpsConfig.addresses.length == 0)">还没有添加端口绑定会导致HTTPS服务无法访问。</span>
<network-addresses-box :v-server-type="serverType" :v-addresses="httpsConfig.addresses" :v-protocol="'https'"></network-addresses-box>
<p class="comment"><span v-if="conflictingPorts.length > 0" class="red">配置错误:<span v-for="(port, index) in conflictingPorts">{{port}}<span v-if="index != conflictingPorts.length - 1"></span></span><span v-if="conflictingPorts.length > 1"></span>端口同HTTP设置的端口冲突请删除HTTP或HTTPS中的相关端口。</span></p>
</td>
</tr>
</tbody>