From b555d217abbfff284c69a1958f68dfbcaf5db150 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 27 Jul 2022 06:10:33 +0000 Subject: [PATCH] remove check --- docker/containers/tactical-nginx/entrypoint.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/containers/tactical-nginx/entrypoint.sh b/docker/containers/tactical-nginx/entrypoint.sh index 80900070..dd95b661 100644 --- a/docker/containers/tactical-nginx/entrypoint.sh +++ b/docker/containers/tactical-nginx/entrypoint.sh @@ -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="