mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-26 00:25:18 +08:00
初步实现HTTP3
This commit is contained in:
@@ -2,7 +2,8 @@ Vue.component("ssl-config-box", {
|
||||
props: [
|
||||
"v-ssl-policy",
|
||||
"v-protocol",
|
||||
"v-server-id"
|
||||
"v-server-id",
|
||||
"v-support-http3"
|
||||
],
|
||||
created: function () {
|
||||
let that = this
|
||||
@@ -26,6 +27,7 @@ Vue.component("ssl-config-box", {
|
||||
cipherSuitesIsOn: false,
|
||||
cipherSuites: [],
|
||||
http2Enabled: true,
|
||||
http3Enabled: false,
|
||||
ocspIsOn: false
|
||||
}
|
||||
} else {
|
||||
@@ -403,6 +405,15 @@ Vue.component("ssl-config-box", {
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="vProtocol == 'https' && vSupportHttp3">
|
||||
<td class="title">启用HTTP/3</td>
|
||||
<td>
|
||||
<div class="ui checkbox">
|
||||
<input type="checkbox" value="1" v-model="policy.http3Enabled"/>
|
||||
<label></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="title">选择证书</td>
|
||||
<td>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</table>
|
||||
|
||||
<!-- SSL配置 -->
|
||||
<ssl-config-box :v-ssl-policy="httpsConfig.sslPolicy" :v-protocol="'https'" v-show="httpsConfig.isOn" :v-server-id="serverId"></ssl-config-box>
|
||||
<ssl-config-box :v-ssl-policy="httpsConfig.sslPolicy" :v-protocol="'https'" v-show="httpsConfig.isOn" :v-server-id="serverId" :v-support-http3="httpsConfig.supportsHTTP3"></ssl-config-box>
|
||||
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user