Skip to content

Commit 05564dd

Browse files
committed
Make sure that nginx becomes PID 1
[refs #49b2f3dafcad]
1 parent b482fd6 commit 05564dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

load_balancer/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

33
envsubst '$PROXY_PROTOCOL,$PROXY_UPSTREAM' < /etc/nginx/sites-available/default.template > /etc/nginx/sites-available/default
4-
nginx -g 'daemon off;'
4+
exec nginx -g 'daemon off;'

0 commit comments

Comments
 (0)