Update nginx.conf
This commit is contained in:
parent
2384171079
commit
c7f4d257f6
@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
# 使用envsubst命令替换nginx.conf.template文件中的环境变量
|
||||
envsubst '$API_BASE_URL' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
|
||||
envsubst '$API_BASE_URL $API_DRAWIO_URL $API_OFFICE_URL' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
|
||||
|
||||
# 启动Nginx
|
||||
exec "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user