diff options
| author | Alireza Ahmadi <alireza.ahmadi@tzconnect.com> | 2023-03-23 13:38:16 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza.ahmadi@tzconnect.com> | 2023-03-23 13:38:16 +0300 |
| commit | 557a9d020aa48472bd8271f4a067c7e04a15ec44 (patch) | |
| tree | d755f82ec0a55b779d14eafffe365e12f6eef549 /web/html/xui/form | |
| parent | 14d7cb812ecccac203d65b4877833b58c93bcb2b (diff) | |
Fix TLS-ALPN + allowInsecure
Diffstat (limited to 'web/html/xui/form')
| -rw-r--r-- | web/html/xui/form/tls_settings.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index aa9c6c6d..acb0a815 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -40,11 +40,13 @@ <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"> |
