mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-14 05:45:24 +03:00
docs: update caddy example to use v2 format in digital ocean guide
GITHUB_PR_NUMBER: 7948 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7948 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3169 Co-authored-by: Jeremy Moseley <4382100+jmoseley@users.noreply.github.com> Co-authored-by: Divya Bhushan <11659160+divyabhushan@users.noreply.github.com> GitOrigin-RevId: e223e63f3f3bae6358db4d0763cac18b94e903b2
This commit is contained in:
parent
b081c8d6f9
commit
8827ba360f
@ -219,8 +219,15 @@ Step 4: Edit the ``Caddyfile`` and change ``:80`` to your domain
|
||||
vim Caddyfile
|
||||
|
||||
...
|
||||
add_your-domain-here {
|
||||
reverse_proxy / graphql-engine:8080
|
||||
|
||||
https://you.domain.example.com {
|
||||
reverse_proxy * graphql-engine:8080 {
|
||||
header_up Host {http.request.host}
|
||||
header_up X-Real-IP {http.request.remote}
|
||||
header_up X-Forwarded-For {http.request.remote}
|
||||
header_up X-Forwarded-Port {http.request.port}
|
||||
header_up X-Forwarded-Proto {http.request.scheme}
|
||||
}
|
||||
}
|
||||
...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user