diff --git a/CHANGELOG.md b/CHANGELOG.md index ca43f40370c20..509f62b9429df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,6 +66,7 @@ Read more about the session argument for computed fields in the [docs](https://h - docs: add section on actions vs. remote schemas to actions documentation (#4284) - docs: fix wrong info about excluding scheme in CORS config (#4685) - docs: add docs page on query performance (close #2316) (#3693) +- docs: add a sample Caddyfile for Caddy 2 in enable-https section (#4710) ## `v1.2.0` diff --git a/docs/graphql/manual/deployment/enable-https.rst b/docs/graphql/manual/deployment/enable-https.rst index 94eebe141f478..442a311502622 100644 --- a/docs/graphql/manual/deployment/enable-https.rst +++ b/docs/graphql/manual/deployment/enable-https.rst @@ -65,6 +65,14 @@ Here is a sample ``Caddyfile`` to proxy requests to Hasura: websocket } +The sample ``Caddyfile`` for Caddy 2: + +.. code-block:: bash + + hasura.my-domain.com { + reverse_proxy localhost:8080 + } + Caddy has SSL provisioning built-in with Let's Encrypt. You can find the docs at `Caddy website `__.