From 865b8b2fa2418ec93812ee42334ea7c86187f56e Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Wed, 11 Sep 2024 18:43:42 +0100 Subject: [PATCH] syntax highlighting (#96) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 52b760c..be5724c 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ See [`docker-compose.yml`](https://github.com/wemake-services/caddy-gen/blob/mas > [!NOTE] > Literal `$` should be doubled (`$$`) to avoid [docker compose interpolation](https://docs.docker.com/reference/compose-file/interpolation), e.g.: -> ``` +> ```yaml > labels: > virtual.host.directives: | > basic_auth { @@ -198,7 +198,7 @@ With this custom template, Caddy-gen will act as a reverse proxy for service containers and store their logs under the appropriate host folder in `/var/logs`. -```jinja +```caddy # file: ./caddy/template (redirectHttps) { @http { @@ -256,7 +256,7 @@ staging environment](https://letsencrypt.org/docs/staging-environment/). This is [useful for testing](https://caddyserver.com/docs/automatic-https#testing) without running up against rate limits when you want to deploy. -```jinja +```caddy # file: ./caddy/global_options { acme_ca https://acme-staging-v02.api.letsencrypt.org/directory