这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
8 changes: 8 additions & 0 deletions docs/graphql/manual/deployment/enable-https.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://caddyserver.com/docs/automatic-https>`__.

Expand Down