Skip to content

Commit 7e5fca1

Browse files
committed
docs(token-auth-keycloak): add missing ui in proxy configuration
1 parent 619627e commit 7e5fca1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
data/registry/
2+
data/keycloak/

examples/token-auth-keycloak/conf/proxy/nginx.conf

+6-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,13 @@ server {
3434
proxy_pass http://keycloak:8080;
3535
}
3636

37+
location /ui {
38+
proxy_pass http://ui/;
39+
}
40+
3741
location / {
38-
root /usr/share/nginx/html;
39-
index index.html index.htm;
42+
root /usr/share/nginx/html;
43+
index index.html index.htm;
4044
}
4145

4246
#error_page 404 /404.html;

examples/token-auth-keycloak/docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ services:
2525
image: joxit/docker-registry-ui:static
2626
environment:
2727
REGISTRY_TITLE: My Private Docker Registry
28+
URL: http://localhost
2829
networks:
2930
- registry-ui-net
3031

0 commit comments

Comments
 (0)