[GH-ISSUE #80] Main entrypoint is a redirect #67

Closed
opened 2026-02-26 21:34:16 +03:00 by kerem · 0 comments
Owner

Originally created by @almulalic on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/80

I have deployed the project in k8s environment with a traefik proxy in front of it. Neither k8s nor traefik reckongize the entrypoint port because it's a redirect. Only way in which I was able to make it work is by trying to access it with curl -L http://$POD_IP:8085.
Right now I need to add a middleware or extra parts of configuration to make it work, and imo, this should work out of the box.

If there is a specific reason for the redirect, you can close the issue.

curl -v http://10.42.0.218:8085

*   Trying 10.42.0.218:8085...
* Connected to 10.42.0.218 (10.42.0.218) port 8085 (#0)
> GET / HTTP/1.1
> Host: 10.42.0.218:8085
> User-Agent: curl/7.88.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: /auth/create-first-user
< Date: Sun, 02 Feb 2025 21:34:37 GMT
< Content-Length: 0
<
* Connection #0 to host 10.42.0.218 left intact

Thanks for the app!

Originally created by @almulalic on GitHub (Feb 2, 2025). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/80 I have deployed the project in k8s environment with a traefik proxy in front of it. Neither k8s nor traefik reckongize the entrypoint port because it's a redirect. Only way in which I was able to make it work is by trying to access it with `curl -L http://$POD_IP:8085`. Right now I need to add a middleware or extra parts of configuration to make it work, and imo, this should work out of the box. If there is a specific reason for the redirect, you can close the issue. ``` curl -v http://10.42.0.218:8085 * Trying 10.42.0.218:8085... * Connected to 10.42.0.218 (10.42.0.218) port 8085 (#0) > GET / HTTP/1.1 > Host: 10.42.0.218:8085 > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 302 Found < Location: /auth/create-first-user < Date: Sun, 02 Feb 2025 21:34:37 GMT < Content-Length: 0 < * Connection #0 to host 10.42.0.218 left intact ``` Thanks for the app!
kerem closed this issue 2026-02-26 21:34:17 +03:00
Sign in to join this conversation.
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
starred/pgbackweb#67
No description provided.