Update nginx.conf

This commit is contained in:
jmal 2023-06-28 15:12:48 +08:00
parent 2384171079
commit c7f4d257f6

View File

@ -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 "$@"