实现TLS配置
This commit is contained in:
@@ -315,7 +315,7 @@ Vue.component("ssl-config-box", {
|
||||
<input type="hidden" name="sslPolicyJSON" :value="JSON.stringify(policy)"/>
|
||||
<table class="ui table definition selectable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr v-show="vProtocol == 'https'">
|
||||
<td class="title">用HTTP/2</td>
|
||||
<td>
|
||||
<div class="ui checkbox">
|
||||
@@ -325,7 +325,7 @@ Vue.component("ssl-config-box", {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>选择证书</td>
|
||||
<td class="title">选择证书</td>
|
||||
<td>
|
||||
<div v-if="policy.certs != null && policy.certs.length > 0">
|
||||
<div class="ui label small" v-for="(cert, index) in policy.certs">
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
{$layout}
|
||||
|
||||
{$template "/left_menu"}
|
||||
|
||||
{$var "header"}
|
||||
<script src="/servers/components/ssl/datajs" type="text/javascript"></script>
|
||||
<script src="/js/sortable.min.js" type="text/javascript"></script>
|
||||
{$end}
|
||||
|
||||
<div class="right-box">
|
||||
<form class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<input type="hidden" name="serverId" :value="serverId"/>
|
||||
@@ -14,6 +18,10 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- SSL配置 -->
|
||||
<ssl-config-box :v-ssl-policy="tlsConfig.sslPolicy" :v-protocol="'tls'" v-show="tlsConfig.isOn"></ssl-config-box>
|
||||
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user