Commit 04a5d66
committed
feat(status): Display external-url in juju status when configured
Enhance the status message to show the configured external-url instead
of the auto-detected IP:PORT when external-url is set.
Changes:
- Modified _get_web_url() to prioritize external-url configuration
- Falls back to auto-detected http://IP:PORT when external-url is empty
- Maintains backward compatibility with existing deployments
Behavior:
- When external-url is set: Shows 'Web server ready (v7.14.2) <external-url>'
- When external-url is empty: Shows 'Web server ready (v7.14.2) http://IP:PORT'
This ensures the status message reflects the actual external URL that
Concourse uses for webhooks and OAuth redirects, improving visibility
and reducing confusion when running behind proxies or with custom domains.1 parent b53a543 commit 04a5d66
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1792 | 1792 | | |
1793 | 1793 | | |
1794 | 1794 | | |
1795 | | - | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
1796 | 1799 | | |
1797 | | - | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
1798 | 1806 | | |
1799 | 1807 | | |
1800 | 1808 | | |
| |||
0 commit comments