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 <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Fable 5 committed 2026-07-05 15:34:29 +02:00
1 parent d9ebf47485
commit 5a0dfaa2e8
1 file changed
+1 -1
+1 -1
View File
@@ -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: