diff --git a/examples/token-auth-keycloak/.gitignore b/examples/token-auth-keycloak/.gitignore index c92db1e..54daa49 100644 --- a/examples/token-auth-keycloak/.gitignore +++ b/examples/token-auth-keycloak/.gitignore @@ -1 +1,2 @@ data/registry/ +data/keycloak/ diff --git a/examples/token-auth-keycloak/conf/proxy/nginx.conf b/examples/token-auth-keycloak/conf/proxy/nginx.conf index 4b1d0a1..681faff 100644 --- a/examples/token-auth-keycloak/conf/proxy/nginx.conf +++ b/examples/token-auth-keycloak/conf/proxy/nginx.conf @@ -34,9 +34,13 @@ server { proxy_pass http://keycloak:8080; } + location /ui { + proxy_pass http://ui/; + } + location / { - root /usr/share/nginx/html; - index index.html index.htm; + root /usr/share/nginx/html; + index index.html index.htm; } #error_page 404 /404.html; diff --git a/examples/token-auth-keycloak/docker-compose.yml b/examples/token-auth-keycloak/docker-compose.yml index 3fddb1b..95abf9c 100644 --- a/examples/token-auth-keycloak/docker-compose.yml +++ b/examples/token-auth-keycloak/docker-compose.yml @@ -25,6 +25,7 @@ services: image: joxit/docker-registry-ui:static environment: REGISTRY_TITLE: My Private Docker Registry + URL: http://localhost networks: - registry-ui-net