Skip to content

Commit 571ea0e

Browse files
committed
Removed conditional from setting worker connections
1 parent 8032a36 commit 571ea0e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/etc/nginx/nginx.conf.template

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ pid /var/run/nginx.pid;
88
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
99

1010
events {
11-
{{ if .Env.WORKER_CONNECTIONS }}
1211
worker_connections {{ .Env.WORKER_CONNECTIONS }};
13-
{{ else }}
14-
worker_connections 1024;
15-
{{ end }}
1612
use epoll;
1713
}
1814

0 commit comments

Comments
 (0)