feat(stream): connect nginx with backend with controllers
This commit is contained in:
9
nginx/docker-entrypoint.sh
Normal file
9
nginx/docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# must only run on certain env files, otherwise it replaces too much
|
||||
envsubst '${WEB_SERVER_URL}' \
|
||||
< /etc/nginx/templates/default.conf.template \
|
||||
> /etc/nginx/nginx.conf
|
||||
|
||||
# daemon off required otherwise the container would exit immediately after nginx forks to background.
|
||||
exec nginx -g "daemon off;"
|
||||
Reference in New Issue
Block a user