docs: a sample Caddyfile for Caddy 2 to enable https section (#4710)

This commit is contained in:
Dien Vu 2020-05-18 15:26:02 +07:00 committed by GitHub
parent 7a7ff29e08
commit 6b5a61cff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -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`

View File

@ -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>`__.