Skip to content

Commit ed500ca

Browse files
authored
Merge pull request #1202 from thejohncrafter/doc-request-base
docs: refine instructions for proxy setting
2 parents 2e3c168 + 635aff5 commit ed500ca

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/manual/src/configuration.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ base_uri example.com
5151
`base_uri` should be your hydra servers proxied URL. If you are using
5252
Hydra nixos module then setting `hydraURL` option should be enough.
5353

54-
If you want to serve Hydra with a prefix path, for example
55-
[http://example.com/hydra]() then you need to configure your reverse
56-
proxy to pass `X-Request-Base` to hydra, with prefix path as value. For
57-
example if you are using nginx, then use configuration similar to
54+
You also need to configure your reverse proxy to pass `X-Request-Base`
55+
to hydra, with the same value as `base_uri`.
56+
This also covers the case of serving Hydra with a prefix path,
57+
as in [http://example.com/hydra]().
58+
59+
For example if you are using nginx, then use configuration similar to
5860
following:
5961

6062
server {

0 commit comments

Comments
 (0)