artifactapi: serve plain HTTP without HTTPS redirect #336

Merged
benvin merged 1 commits from benvin/artifactapi-http into main 2026-08-05 22:27:27 +10:00

1 Commits

Author SHA1 Message Date
Ben Vincent 5b6d966b6b artifactapi: serve plain HTTP without HTTPS redirect
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Early-boot clients (anaconda/kickstart, yum in %post, PXE environments)
need direct HTTP access to the rpm repos. A 301 redirect to HTTPS breaks
or downgrades those clients.

- Attach the api-route HTTPRoute to the Gateway's http listener alongside https
- Remove the http-redirect RequestRedirect (301) route so port 80 serves content directly

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
2026-08-05 22:19:33 +10:00