Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Sep 6, 2024
1 parent 3c8b15e commit 1f0845b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-ui-pro.sh
Original file line number Diff line number Diff line change
@@ -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";}
Expand Down Expand Up @@ -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/ {
Expand Down

0 comments on commit 1f0845b

Please sign in to comment.