fix: redirect blog.martin.md to pages URL #10

Closed
radu wants to merge 1 commit from blog-redirect-preview-expiry into main
Owner

Git-pages doesn't support external custom domains. Instead of serving blog.martin.md directly (which returns 404 since the site is deployed at radu.pages.martin.md/blog), this redirects blog.martin.md to the pages URL.

Uses a Traefik redirectregex middleware on the git-pages-blog router.

Git-pages doesn't support external custom domains. Instead of serving `blog.martin.md` directly (which returns 404 since the site is deployed at `radu.pages.martin.md/blog`), this redirects `blog.martin.md` to the pages URL. Uses a Traefik `redirectregex` middleware on the `git-pages-blog` router.
radu closed this pull request 2026-07-21 12:37:13 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
homelab/dc-git-pages!10
No description provided.