mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-16 21:50:24 +08:00
优化代码/创建服务的时候可以保存SSL证书信息
This commit is contained in:
@@ -34,21 +34,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- 证书 -->
|
||||
<tbody v-if="tlsProtocolName.length > 0">
|
||||
<tr>
|
||||
<td>{{tlsProtocolName}}证书</td>
|
||||
<td>
|
||||
<input type="file" name="tlsCertFile"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{tlsProtocolName}}密钥</td>
|
||||
<td>
|
||||
<input type="file" name="tlsKeyFile"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
|
||||
<!-- 域名 -->
|
||||
<tr v-if="serverType == 'httpProxy' || serverType == 'httpWeb'">
|
||||
@@ -58,6 +44,16 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- 证书 -->
|
||||
<tbody v-if="tlsProtocolName.length > 0">
|
||||
<tr>
|
||||
<td>{{tlsProtocolName}}证书</td>
|
||||
<td>
|
||||
<ssl-certs-box></ssl-certs-box>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<!-- 源服务器地址 -->
|
||||
<tr v-if="serverType == 'httpProxy' || serverType == 'tcpProxy' || serverType == 'udpProxy'">
|
||||
<td>源站地址</td>
|
||||
|
||||
Reference in New Issue
Block a user