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;