Replies: 1 comment 1 reply
-
|
Hey, the issue likely comes from missing headers. The Also test directly against the container ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Keygen team/community,
I’m self-hosting Keygen CE (keygen/api:latest) on a GCP VM using Docker. The web service is exposed on port 3005 (0.0.0.0:3005->3005/tcp). I’m using the VM’s Caddy to expose Keygen under a subpath and forward to the container.
What works
These endpoints work consistently (both directly and through Caddy):
What fails:-
Anything account-scoped fails and is routed to ErrorsController#show with 404 NOT_FOUND, e.g.:
Even though the account exists in the DB:
Account.count = 1
slug: (example: mtree-com)
Caddy config
{
handle_path /keygen/* {
reverse_proxy localhost:3005 {
header_up Host {host}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Host {host}
header_up X-Forwarded-Proto https
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions