From 175964e8884d0313e908e5da6666e3e5167545dd Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 23 Apr 2026 20:18:07 +0900 Subject: copyparty: serve under both domains MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/authelia/files/configuration.yml | 6 +----- bundles/copyparty/files/kube.yaml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'bundles') diff --git a/bundles/authelia/files/configuration.yml b/bundles/authelia/files/configuration.yml index 377f480..0ace0b6 100644 --- a/bundles/authelia/files/configuration.yml +++ b/bundles/authelia/files/configuration.yml @@ -16,12 +16,8 @@ access_control: - domain: 'paper.gzr.im' resources: ['^/api/'] policy: 'bypass' - # bypass for public resources - # - domain: 'cp.gzr.im' - # resources: ['^/$', '^/public/'] - # policy: 'bypass' # group-based access restrictions - - domain: 'cp.gzr.im' + - domain: ['cp.gzr.im', 'cp.demo.gzr.im'] subject: ['group:copyparty', 'group:admins'] policy: 'one_factor' - domain: 'photos.gzr.im' diff --git a/bundles/copyparty/files/kube.yaml b/bundles/copyparty/files/kube.yaml index 9e260c0..3afa21a 100644 --- a/bundles/copyparty/files/kube.yaml +++ b/bundles/copyparty/files/kube.yaml @@ -7,7 +7,7 @@ metadata: traefik.http.routers.copyparty.tls: true traefik.http.routers.copyparty.tls.certresolver: le traefik.http.routers.copyparty.entrypoints: http,https - traefik.http.routers.copyparty.rule: Host(`cp.gzr.im`) + traefik.http.routers.copyparty.rule: Host(`cp.gzr.im`) || Host(`cp.demo.gzr.im`) traefik.http.routers.copyparty.service: copyparty traefik.http.routers.copyparty.middlewares: tls-redirect@file,authelia@file traefik.http.services.copyparty.loadbalancer.server.port: 3923 -- cgit 1.4.1