This commit is contained in:
wh1te909 2022-07-10 00:38:09 +00:00
parent 26cd58fd6d
commit 41db8681f8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ nginxdefaultconf='/etc/nginx/nginx.conf'
# increase default nginx worker connections
/bin/bash -c "sed -i 's/worker_connections.*/worker_connections ${WORKER_CONNECTIONS};/g' $nginxdefaultconf"
sudo sed -i '1s/^/worker_rlimit_nofile 1000000;\
sed -i '1s/^/worker_rlimit_nofile 1000000;\
/' $nginxdefaultconf
if [[ $DEV -eq 1 ]]; then