artifactapi: serve plain HTTP without HTTPS redirect #336
Reference in New Issue
Block a user
Delete Branch "benvin/artifactapi-http"
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?
Why
Early-boot clients — anaconda/kickstart and yum in %post, PXE environments — need direct HTTP access to the artifactapi rpm repos. The current setup returns a 301 redirect from HTTP to HTTPS, which those minimal clients cannot follow (or downgrade insecurely), breaking rpm installs.
Changes
api-routeHTTPRoute to the Gateway'shttp(port 80) listener alongsidehttps, sohttp://artifactapi.k8s.syd1.au.unkin.net/...serves app content directly (200/40x from the app, no Location header).http-redirectHTTPRoute (RequestRedirect 301http->https), which was the sole redirect mechanism — the traefikwebentrypoint has no globalredirections, so this is scoped strictly to artifactapi and does not affect other apps.https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT