From 1f0845b583ed151d8b68a8d9e143f06d9612899e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xue=20Xianliang=20=E8=87=AA=E7=94=B1=E7=9A=84=E4=B8=96?= =?UTF-8?q?=E7=95=8C?= <146182012+GFW4Fun@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:58:44 +0330 Subject: [PATCH] Update x-ui-pro.sh --- x-ui-pro.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-ui-pro.sh b/x-ui-pro.sh index 703315f..dc8cbdb 100644 --- a/x-ui-pro.sh +++ b/x-ui-pro.sh @@ -1,5 +1,5 @@ #!/bin/bash -#################### x-ui-pro v2.4.3 @ github.com/GFW4Fun ############################################## +#################### x-ui-pro v2.4.4 @ github.com/GFW4Fun ############################################## [[ $EUID -ne 0 ]] && echo "not root!" && sudo su - ##############################INFO###################################################################### msg_ok() { echo -e "\e[1;42m $1 \e[0m";} @@ -141,7 +141,7 @@ server { if (\$ssl_server_name !~* ^(.+\.)?$MainDomain\$ ) {set \$safe "\${safe}0"; } if (\$safe = 10){return 444;} if (\$request_uri ~ "(\"|'|\`|~|,|:|--|;|%|\\$|&&|\?\?|0x00|0X00|\||\\|\{|\}|\[|\]|<|>|\.\.\.|\.\.\/|\/\/\/)"){set \$hack 1;} - error_page 400 401 402 403 500 501 502 503 504 =404 /404; + error_page 203 204 400 401 402 403 500 501 502 503 504 =404 /404; proxy_intercept_errors on; #X-UI Admin Panel location /$RNDSTR/ {