From 548232b1af2666caefa309958cb6baf62c636f5b Mon Sep 17 00:00:00 2001 From: MaxKey Date: Thu, 26 Dec 2024 21:23:08 +0800 Subject: [PATCH] docker-compose MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加参数LOGIN_CAS_SERVER --- docker/docker-compose.yml | 2 +- maxkey-web-frontend/maxkey-web-mgt-app/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0acdc26f6..9abfd8e4d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -58,7 +58,7 @@ services: - DATABASE_NAME=maxkey - DATABASE_USER=root - DATABASE_PWD=maxkey - - LOGIN_CAS_SERVER=http://maxkey/sign/authz/cas + - LOGIN_CAS_SERVER=http://maxkey-nginx/sign/authz/cas ports: - "9526:9526" networks: diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/nginx.conf b/maxkey-web-frontend/maxkey-web-mgt-app/nginx.conf index 9bd9e9806..a449f54e1 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/nginx.conf +++ b/maxkey-web-frontend/maxkey-web-mgt-app/nginx.conf @@ -7,7 +7,7 @@ server { location / { root /usr/share/nginx/html; index index.html index.htm; - try_files $uri $uri/ /index.html; + try_files $uri $uri/ /maxkey-mgt/index.html; } error_page 500 502 503 504 /50x.html;