diff options
Diffstat (limited to 'web/html/xui/form/tls_settings.html')
| -rw-r--r-- | web/html/xui/form/tls_settings.html | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index aa9c6c6d..88d94c3f 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -11,7 +11,7 @@ </a-form> <!-- tls settings --> -<a-form v-if="inbound.tls || inbound.XTLS" layout="inline"> +<a-form v-if="inbound.tls || inbound.XTLS"layout="inline"> <a-form-item label="SNI" placeholder="Server Name Indication" v-if="inbound.tls"> <a-input v-model.trim="inbound.stream.tls.settings[0].serverName"></a-input> </a-form-item> @@ -22,29 +22,31 @@ </a-select> </a-form-item> <a-form-item label="MinVersion"> - <a-select v-model="inbound.stream.tls.minVersion" style="width: 60px" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> + <a-select v-model="inbound.stream.tls.minVersion" style="width: 60px"> <a-select-option v-for="key in TLS_VERSION_OPTION" :value="key">[[ key ]]</a-select-option> </a-select> </a-form-item> <a-form-item label="MaxVersion"> - <a-select v-model="inbound.stream.tls.maxVersion" style="width: 60px" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> + <a-select v-model="inbound.stream.tls.maxVersion" style="width: 60px"> <a-select-option v-for="key in TLS_VERSION_OPTION" :value="key">[[ key ]]</a-select-option> </a-select> </a-form-item> - <a-form-item label="uTLS" v-if="inbound.tls" > - <a-select v-model="inbound.stream.tls.settings[0].fingerprint" style="width: 135px"> - <a-select-option value=''>None</a-select-option> - <a-select-option v-for="key in UTLS_FINGERPRINT" :value="key">[[ key ]]</a-select-option> - </a-select> - </a-form-item> + <a-form-item label="uTLS" v-if="inbound.tls" > + <a-select v-model="inbound.stream.tls.settings[0].fingerprint" style="width: 135px"> + <a-select-option value=''>None</a-select-option> + <a-select-option v-for="key in UTLS_FINGERPRINT" :value="key">[[ key ]]</a-select-option> + </a-select> + </a-form-item> <a-form-item label='{{ i18n "domainName" }}'> <a-input v-model.trim="inbound.stream.tls.server"></a-input> </a-form-item> - <a-form-item label="Alpn" v-if="inbound.tls"> - <a-select v-model="inbound.stream.tls.alpn[0]" style="width:200px"> - <a-select-option value=''>auto</a-select-option> - <a-select-option v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-select-option> - </a-select> + <a-form-item label="Alpn"> + <a-checkbox-group v-model="inbound.stream.tls.alpn" style="width:200px"> + <a-checkbox v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-checkbox> + </a-checkbox-group> + </a-form-item> + <a-form-item label="Allow insecure"> + <a-switch v-model="inbound.stream.tls.settings[0].allowInsecure"></a-switch> </a-form-item> <a-form-item label='{{ i18n "certificate" }}'> <a-radio-group v-model="inbound.stream.tls.certs[0].useFile" button-style="solid"> |
