From 87042d77bab3bb22a8d1a08cc669c218c6c8f411 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Tue, 22 Jul 2025 12:49:02 +0200 Subject: [PATCH 1/2] ocspStapling set to 0 --- web/assets/js/model/inbound.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index cbdeaa8a..8a19d79c 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -633,7 +633,7 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { keyFile = '', certificate = '', key = '', - ocspStapling = 3600, + ocspStapling = 0, oneTimeLoading = false, usage = USAGE_OPTION.ENCIPHERMENT, buildChain = false, From 75416eebd794e6fc4bd5dd25730be5c2f51e50f0 Mon Sep 17 00:00:00 2001 From: xujie86 <167618598+xujie86@users.noreply.github.com> Date: Tue, 22 Jul 2025 18:53:12 +0800 Subject: [PATCH 2/2] Increase the number of characters for webBasePath (#3239) --- install.sh | 2 +- x-ui.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 30a0f688..85b34c3d 100644 --- a/install.sh +++ b/install.sh @@ -115,7 +115,7 @@ config_after_install() { echo -e "${green}Access URL: http://${server_ip}:${config_port}/${config_webBasePath}${plain}" echo -e "###############################################" else - local config_webBasePath=$(gen_random_string 15) + local config_webBasePath=$(gen_random_string 18) echo -e "${yellow}WebBasePath is missing or too short. Generating a new one...${plain}" /usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}" echo -e "${green}New WebBasePath: ${config_webBasePath}${plain}" diff --git a/x-ui.sh b/x-ui.sh index 1ce85f91..97dc9102 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -214,7 +214,7 @@ reset_webbasepath() { return fi - config_webBasePath=$(gen_random_string 10) + config_webBasePath=$(gen_random_string 18) # Apply the new web base path setting /usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}" >/dev/null 2>&1