docker-compose

增加参数LOGIN_CAS_SERVER
This commit is contained in:
MaxKey 2024-12-26 21:23:08 +08:00
parent 3a6cff879f
commit 548232b1af
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ services:
- DATABASE_NAME=maxkey - DATABASE_NAME=maxkey
- DATABASE_USER=root - DATABASE_USER=root
- DATABASE_PWD=maxkey - DATABASE_PWD=maxkey
- LOGIN_CAS_SERVER=http://maxkey/sign/authz/cas - LOGIN_CAS_SERVER=http://maxkey-nginx/sign/authz/cas
ports: ports:
- "9526:9526" - "9526:9526"
networks: networks:

View File

@ -7,7 +7,7 @@ server {
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; 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; error_page 500 502 503 504 /50x.html;