File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ################### x-ui-pro v11.2.1 @ github.com/GFW4Fun ##############################################
2
+ # ################### x-ui-pro v11.3.0 @ github.com/GFW4Fun ##############################################
3
3
msg () { echo -e " \e[1;37;40m $1 \e[0m" ; }
4
4
msg_ok () { echo -e " \e[1;32;40m $1 \e[0m" ; }
5
5
msg_err () { echo -e " \e[1;31;40m $1 \e[0m" ; }
@@ -375,14 +375,8 @@ server {
375
375
grpc_pass grpc://127.0.0.1:\$ fwdport\$ is_args\$ args;
376
376
break;
377
377
}
378
- if (\$ http_upgrade ~* "(WEBSOCKET|WS)") {
379
- proxy_pass http://127.0.0.1:\$ fwdport\$ is_args\$ args;
380
- break;
381
- }
382
- if (\$ request_method ~* ^(PUT|POST|GET)\$ ) {
383
- proxy_pass http://127.0.0.1:\$ fwdport\$ is_args\$ args;
384
- break;
385
- }
378
+ proxy_pass http://127.0.0.1:\$ fwdport\$ is_args\$ args;
379
+ break;
386
380
}
387
381
$NOPATH location / { try_files \$ uri \$ uri/ =404; }
388
382
}
You can’t perform that action at this time.
0 commit comments