feat: add wildcard subdomain routing and preview support #2
Loading…
Reference in a new issue
No description provided.
Delete branch "add-insecure-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds wildcard subdomain routing and preview branch support to the git-pages service:
docker-compose.yml:
PAGES_FEATURES=preview— enables the preview feature flag (required alongsidepreview-domainin config)HostRegexpTraefik labels — routes*.pages.martin.mdand*.preview.pages.martin.mdto git-pages, since it uses subdomain-based routing (<user>.pages.martin.md/<project>/)config.toml:
preview-domain = "preview.pages.martin.md"— serves preview branches at<user>.preview.pages.martin.md/<project>@<PR>/authorization = "forgejo"— required alongsidepreview-domain; CI authenticates viaForge-Authorizationheader, verified against the Forgejo APIradu referenced this pull request from radu/blog2026-07-21 07:56:41 +00:00
Enable PAGES_INSECURE and expose port 3000 for CI notificationto feat: add wildcard subdomain routing and preview support