File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ################### x-ui-pro v9.5.3 @ github.com/GFW4Fun ##############################################
2
+ # ################### x-ui-pro v9.5.4 @ github.com/GFW4Fun ##############################################
3
3
[[ $EUID -ne 0 ]] && { echo " not root!" ; exec sudo " $0 " " $@ " ; }
4
4
# #############################INFO######################################################################
5
5
msg_ok () { echo -e " \e[1;42m $1 \e[0m" ; }
@@ -203,8 +203,9 @@ user $nginxusr;
203
203
worker_processes auto;
204
204
pid /run/nginx.pid;
205
205
include /etc/nginx/modules-enabled/*.conf;
206
- events {worker_connections 3333;}
207
- http{
206
+ worker_rlimit_nofile 65535;
207
+ events { worker_connections 8192; use epoll; }
208
+ http {
208
209
access_log /var/log/nginx/access.log;
209
210
error_log /var/log/nginx/error.log;
210
211
gzip on;sendfile on;tcp_nopush on;
You can’t perform that action at this time.
0 commit comments