From 37ba58e8c2db1d6b4e06bccf32e5915234bdf2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=20Nam=C3=A8che?= Date: Wed, 18 Mar 2026 09:55:08 +0300 Subject: [PATCH] caddy: add comments --- seb4itik/byow/roles/caddy/templates/Caddyfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/seb4itik/byow/roles/caddy/templates/Caddyfile b/seb4itik/byow/roles/caddy/templates/Caddyfile index 4b684d4..b7ee38d 100644 --- a/seb4itik/byow/roles/caddy/templates/Caddyfile +++ b/seb4itik/byow/roles/caddy/templates/Caddyfile @@ -16,6 +16,7 @@ order coraza_waf first {% endif %} +# See: https://github.com/pteich/caddy-tlsconsul {% if caddy_consul %} storage consul { address "{{ caddy_consul_server }}" @@ -29,6 +30,7 @@ } {% endif %} +# See: https://github.com/zhangjiayin/caddy-geoip2 {% if caddy_geoip %} geoip2 { accountId "{{ caddy_geoip_account_id | mandatory }}" @@ -45,6 +47,7 @@ email "{{ caddy_email }}" {% endif %} +# See: https://github.com/hslatman/caddy-crowdsec-bouncer {% if caddy_crowdsec %} crowdsec { api_key {{ caddy_crowdsec_api_key | mandatory }} @@ -230,6 +233,7 @@ {% endfor %} } +# See: https://github.com/mholt/caddy-ratelimit {% if caddy_ratelimit and site.rate_limit | default(caddy_sites_defaults.rate_limit) %} rate_limit @not_whitelisted { {% if caddy_consul %} @@ -288,6 +292,7 @@ import cors-deny {% endif %} +# See: https://github.com/steffenbusch/caddy-bot-barrier {% if caddy_bot_barrier and site.bot_barrier | default(caddy_sites_defaults.bot_barrier) %} bot_barrier @not_whitelisted { secret {{ site.bot_barrier_secret | default(caddy_sites_defaults.bot_barrier_secret) | mandatory }}