Compare commits

...

2 commits

Author SHA1 Message Date
5537098156 dfg
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 4s
ansible-lint / Ansible Lint (pull_request) Successful in 39s
2024-11-10 17:21:40 +01:00
e2d2937504 theme 2024-11-10 17:01:28 +01:00
2 changed files with 5 additions and 4 deletions

View file

@ -91,9 +91,8 @@ services:
timeout: 10s
retries: 3
labels:
traefik.http.routers.registry-ui.rule: Host(`registry.mgrote.net`)&&PathPrefix(`/ui`) # mache unter /ui erreichbar, damit wird demPfad dieser Prefix hinzugefügt, die Anwendung "hört" dort abrer nicht
traefik.http.routers.registry-ui.middlewares: authelia,registry-ui-strip-prefix,registry-ui-ipallowlist # also entferne den Prefix danach wieder
traefik.http.middlewares.registry-ui-strip-prefix.stripprefix.prefixes: /ui # hier ist die Middleware definiert
traefik.http.routers.registry-ui.rule: Host(`rui.mgrote.net`)
traefik.http.routers.registry-ui.middlewares: authelia,registry-ui-ipallowlist # also entferne den Prefix danach wieder
traefik.enable: true
traefik.http.routers.registry-ui.tls: true
traefik.http.routers.registry-ui.tls.certresolver: resolver_letsencrypt

View file

@ -3,6 +3,8 @@
server.address: "0.0.0.0:9091"
theme: auto
log:
level: debug
@ -19,7 +21,7 @@ access_control:
policy: one_factor
subject:
- 'group:authelia_wiki'
- domain: registry.mgrote.net
- domain: rui.mgrote.net
policy: one_factor
subject:
- 'group:authelia_registry-ui'