Skip to content
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

docs: a sample Caddyfile for Caddy 2 #4710

Merged
merged 4 commits into from
May 18, 2020
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