添加版本的控制

This commit is contained in:
孙小云 2025-05-26 10:44:18 +08:00
parent 7d04804799
commit 109d9272ec
2 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,7 @@ export OIDC_DOMAIN_FULL=${OIDC_SERVER_DOMAIN}:${NGINX_HTTPS_PORT}
export MINIO_DOMAIN=minio-${DOMAIN}.${DOMAIN_END}
export MINIO_CONSOLE_DOMAIN=minioconsole-${DOMAIN}.${DOMAIN_END}
export AIRPORT_DOMAIN=airport-${DOMAIN}.${DOMAIN_END}
export AIRPORT_DOMAIN_FULL=${AIRPORT_DOMAIN}:${NGINX_HTTPS_PORT}
export SRS_DOMAIN=srs-${DOMAIN}.${DOMAIN_END}
export HHZ_DOMAIN=hhz-${DOMAIN}.${DOMAIN_END}
export DSP_DOMAIN=dsp-${DOMAIN}.${DOMAIN_END}

View File

@ -24,6 +24,9 @@
location /{
try_files $uri $uri/ @router;
index index.html;
# 只添加这一行来修复重定向
proxy_redirect http://${AIRPORT_DOMAIN} https://${AIRPORT_DOMAIN_FULL};
}
location @router{