feat: add basic authentication middleware for analytics service in Traefik
This commit is contained in:
parent
48bfaa6cb9
commit
2d62d1a3f9
@ -109,7 +109,9 @@ services:
|
|||||||
- "traefik.http.routers.analytics.entrypoints=websecure"
|
- "traefik.http.routers.analytics.entrypoints=websecure"
|
||||||
- "traefik.http.routers.analytics.tls=true"
|
- "traefik.http.routers.analytics.tls=true"
|
||||||
- "traefik.http.routers.analytics.tls.certresolver=cloudflare"
|
- "traefik.http.routers.analytics.tls.certresolver=cloudflare"
|
||||||
|
- "traefik.http.routers.analytics.middlewares=analytics-auth"
|
||||||
- "traefik.http.services.analytics.loadbalancer.server.port=80"
|
- "traefik.http.services.analytics.loadbalancer.server.port=80"
|
||||||
|
- "traefik.http.middlewares.analytics-auth.basicauth.users=admin:$$2y$$05$$SryuOROtX8i7TC50nXPw6ejsaeaLkTEX1KY8r4R/zgriOLZyzRIG2"
|
||||||
|
|
||||||
goaccess-cron:
|
goaccess-cron:
|
||||||
image: allinurl/goaccess:1.10
|
image: allinurl/goaccess:1.10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user