diff options
Diffstat (limited to 'web/html/xui/form/tls_settings.html')
| -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"> |
