From 5a0dfaa2e853bbd6bfb2fa6a3e26ad919a77edec Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 5 Jul 2026 14:46:59 +0200 Subject: [PATCH] fix(web-app-yourls): point the sso upstream at the real 8080 listener The yourls apache only listens on 8080 (upstream ports.conf has never shipped a port-80 vhost), so the oauth2 sso proxy's upstream port 80 answered connection-refused and every authenticated request 502'd. Derive the origin port from services.yourls.ports.internal.http like web-app-gitea does, yielding yourls:8080 in compose and yourls_yourls:8080 in swarm. Co-Authored-By: Claude Fable 5 --- roles/web-app-yourls/meta/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-yourls/meta/services.yml b/roles/web-app-yourls/meta/services.yml index 85867852fa..7d8a7f247e 100644 --- a/roles/web-app-yourls/meta/services.yml +++ b/roles/web-app-yourls/meta/services.yml @@ -44,7 +44,7 @@ sso: oauth2: origin: host: yourls - port: "80" + port: "{{ lookup('config', 'web-app-yourls', 'services.yourls.ports.internal.http') }}" allowed_groups: - "{{ lookup('rbac_group_path', application_id='web-app-yourls', role='administrator') }}" acl: