updated traefik config to work with oidc
This commit is contained in:
@@ -39,7 +39,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.adventurelogweb.entrypoints=websecure"
|
- "traefik.http.routers.adventurelogweb.entrypoints=websecure"
|
||||||
- "traefik.http.routers.adventurelogweb.rule=Host(`yourdomain.com`) && !(PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`))" # Replace with your domain
|
- "traefik.http.routers.adventurelogweb.rule=Host(`yourdomain.com`) && !(PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`) || PathPrefix(`/accounts`))" # Replace with your domain
|
||||||
- "traefik.http.routers.adventurelogweb.tls=true"
|
- "traefik.http.routers.adventurelogweb.tls=true"
|
||||||
- "traefik.http.routers.adventurelogweb.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.adventurelogweb.tls.certresolver=letsencrypt"
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -66,7 +66,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.adventurelogserver.entrypoints=websecure"
|
- "traefik.http.routers.adventurelogserver.entrypoints=websecure"
|
||||||
- "traefik.http.routers.adventurelogserver.rule=Host(`yourdomain.com`) && (PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`))" # Replace with your domain
|
- "traefik.http.routers.adventurelogserver.rule=Host(`yourdomain.com`) && (PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`) || PathPrefix(`/accounts`))" # Replace with your domain
|
||||||
- "traefik.http.routers.adventurelogserver.tls=true"
|
- "traefik.http.routers.adventurelogserver.tls=true"
|
||||||
- "traefik.http.routers.adventurelogserver.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.adventurelogserver.tls.certresolver=letsencrypt"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user