mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-04 16:58:28 +00:00
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:
1 parent
d9ebf47485
commit
5a0dfaa2e8
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user