diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-05-04 14:20:24 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-05-04 14:20:24 +0300 |
| commit | e19061d513b8c4fb2207b4a553a96ea086089612 (patch) | |
| tree | 8a05450f0f6d3e8a2a182976b1a38bf5cca824ea /web/html/form/tls_settings.html | |
| parent | 51e2fb6dbfb6f3f21b3f578c15c3dc0d47c4a66e (diff) | |
TLS: Remove ECH Force Query
Diffstat (limited to 'web/html/form/tls_settings.html')
| -rw-r--r-- | web/html/form/tls_settings.html | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/web/html/form/tls_settings.html b/web/html/form/tls_settings.html index 2462e901..26c67aa3 100644 --- a/web/html/form/tls_settings.html +++ b/web/html/form/tls_settings.html @@ -1,14 +1,12 @@ {{define "form/tlsSettings"}} <!-- tls enable --> -<a-form v-if="inbound.canEnableTls()" :colon="false" - :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> +<a-form v-if="inbound.canEnableTls()" :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> <template v-if="inbound.protocol !== Protocols.HYSTERIA"> <a-divider :style="{ margin: '3px 0' }"></a-divider> <a-form-item label='{{ i18n "security" }}'> <a-radio-group v-model="inbound.stream.security" button-style="solid"> <a-radio-button value="none">{{ i18n "none" }}</a-radio-button> - <a-radio-button v-if="inbound.canEnableReality()" - value="reality">Reality</a-radio-button> + <a-radio-button v-if="inbound.canEnableReality()" value="reality">Reality</a-radio-button> <a-radio-button value="tls">TLS</a-radio-button> </a-radio-group> </a-form-item> @@ -21,8 +19,7 @@ <a-input v-model.trim="inbound.stream.tls.sni"></a-input> </a-form-item> <a-form-item label="Cipher Suites"> - <a-select v-model="inbound.stream.tls.cipherSuites" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select v-model="inbound.stream.tls.cipherSuites" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Auto</a-select-option> <a-select-option v-for="key,value in TLS_CIPHER_OPTION" :value="key">[[ value ]]</a-select-option> @@ -30,14 +27,12 @@ </a-form-item> <a-form-item label="Min/Max Version"> <a-input-group compact> - <a-select v-model="inbound.stream.tls.minVersion" - :style="{ width: '50%' }" + <a-select v-model="inbound.stream.tls.minVersion" :style="{ width: '50%' }" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option v-for="key in TLS_VERSION_OPTION" :value="key">[[ key ]]</a-select-option> </a-select> - <a-select v-model="inbound.stream.tls.maxVersion" - :style="{ width: '50%' }" + <a-select v-model="inbound.stream.tls.maxVersion" :style="{ width: '50%' }" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option v-for="key in TLS_VERSION_OPTION" :value="key">[[ key ]]</a-select-option> @@ -45,8 +40,7 @@ </a-input-group> </a-form-item> <a-form-item label="uTLS"> - <a-select v-model="inbound.stream.tls.settings.fingerprint" - :style="{ width: '100%' }" + <a-select v-model="inbound.stream.tls.settings.fingerprint" :style="{ width: '100%' }" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>None</a-select-option> <a-select-option v-for="key in UTLS_FINGERPRINT" :value="key">[[ key @@ -54,9 +48,7 @@ </a-select> </a-form-item> <a-form-item label="ALPN"> - <a-select mode="multiple" - :dropdown-class-name="themeSwitcher.currentTheme" - v-model="inbound.stream.tls.alpn"> + <a-select mode="multiple" :dropdown-class-name="themeSwitcher.currentTheme" v-model="inbound.stream.tls.alpn"> <a-select-option v-for="alpn in ALPN_OPTION" :value="alpn">[[ alpn ]]</a-select-option> </a-select> @@ -75,8 +67,7 @@ <a-form-item label='{{ i18n "certificate" }}'> <a-radio-group v-model="cert.useFile" button-style="solid" :style="{ display: 'inline-flex', whiteSpace: 'nowrap', maxWidth: '100%' }"> - <a-radio-button :value="true" - :style="{ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }">{{ + <a-radio-button :value="true" :style="{ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }">{{ i18n "pages.inbounds.certificatePath" }}</a-radio-button> <a-radio-button :value="false" :style="{ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }">{{ @@ -87,8 +78,7 @@ <a-space> <a-button icon="plus" v-if="index === 0" type="primary" size="small" @click="inbound.stream.tls.addCert()"></a-button> - <a-button icon="minus" v-if="inbound.stream.tls.certs.length>1" - type="primary" size="small" + <a-button icon="minus" v-if="inbound.stream.tls.certs.length>1" type="primary" size="small" @click="inbound.stream.tls.removeCert(index)"></a-button> </a-space> </a-form-item> @@ -100,8 +90,7 @@ <a-input v-model.trim="cert.keyFile"></a-input> </a-form-item> <a-form-item label=" "> - <a-button type="primary" icon="import" - @click="setDefaultCertData(index)"> + <a-button type="primary" icon="import" @click="setDefaultCertData(index)"> {{ i18n "pages.inbounds.setDefaultCert" }}</a-button> </a-form-item> </template> @@ -117,8 +106,7 @@ <a-switch v-model="cert.oneTimeLoading"></a-switch> </a-form-item> <a-form-item label='Usage Option'> - <a-select v-model="cert.usage" :style="{ width: '50%' }" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select v-model="cert.usage" :style="{ width: '50%' }" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option v-for="key in USAGE_OPTION" :value="key">[[ key ]]</a-select-option> </a-select> @@ -133,13 +121,6 @@ <a-form-item label='ECH config'> <a-input v-model="inbound.stream.tls.settings.echConfigList"></a-input> </a-form-item> - <a-form-item label='ECH force query'> - <a-select v-model="inbound.stream.tls.echForceQuery" - :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option v-for="key in ['none', 'half', 'full']" :value="key">[[ - key ]]</a-select-option> - </a-select> - </a-form-item> <a-form-item label=" "> <a-space> <a-button type="primary" icon="import" @click="getNewEchCert">Get New |
