Skip to content

Commit

Permalink
Make nginx to be process 1 to accept SIGTERM signal (haishanh#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuewenG authored Mar 10, 2023
1 parent 8334d36 commit e7a5088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
sed -i "s|http://127.0.0.1:9090|$YACD_DEFAULT_BACKEND|" /usr/share/nginx/html/index.html
nginx -g "daemon off;"
exec nginx -g "daemon off;"

0 comments on commit e7a5088

Please sign in to comment.