remove check

This commit is contained in:
wh1te909 2022-07-27 06:10:33 +00:00
parent 775c600234
commit b555d217ab
1 changed files with 0 additions and 3 deletions

View File

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