Skip to content

docs: refine instructions for proxy setting #1202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2025

Conversation

thejohncrafter
Copy link
Contributor

This is formally a PR but it's more of an issue.

I was having trouble deploying Hydra behind a reverse proxy, I wanted the url to look like hydra.example.com.
I didn't need a prefix path, so I didn't set up X-Request-Base -- a fatal mistake. Hydra didn't set up its links correctly, and I was systematically redirected to 127.0.0.1:_.

I corrected the docs so that someone who wants to do something like me won't make the same mistake :

Serving behind reverse proxy
----------------------------

[...]

You also need to configure your reverse proxy to pass `X-Request-Base`
to hydra, with the same value as `base_uri`.

I hope this is the correct and idiomatic fix, but I'm not fluent in perl/Catalyst, feel free to dismiss this PR 🚀

@Ericson2314 Ericson2314 added this pull request to the merge queue Jun 15, 2025
Merged via the queue into NixOS:master with commit ed500ca Jun 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants