Commit 04b48a1a authored by Kunkka王辉's avatar Kunkka王辉 😲

feat: 变量处理

parent fc75c792
......@@ -92,7 +92,7 @@ server {
}
location ^~ /client-web/ {
proxy_pass http:$JAVA_CLIENT_URI;
proxy_pass http://$JAVA_CLIENT_URI;
#获取客户端真实IP
proxy_set_header X-Real-PORT \$remote_port;
proxy_set_header X-Real-IP \$remote_addr;
......@@ -384,7 +384,8 @@ server {
}
}
EOF
cat <<EOF >/app/www/.env-for-add
mkdir -p /app/env/
cat <<EOF >/app/env/.env-for-add
#部署的env全部,用来追加到 项目的.env 文件用来支持每个服务之间的调用
#用于替换掉hostFile的配置
SERVICE_BaseMicros=$HOST:1234 #缺省
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment