Roles for caddy as well as isso
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
parent
6b7f10a1e1
commit
96a91b2ecb
20 changed files with 696 additions and 0 deletions
17
roles/caddy/templates/Caddyfile.j2
Normal file
17
roles/caddy/templates/Caddyfile.j2
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% if caddy_use_local_certs %}
|
||||
{
|
||||
local_certs
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
{% for site in caddy_sites %}
|
||||
{{ site.name }} {
|
||||
{% if site.directives is defined %}
|
||||
{{ site.directives | indent }}
|
||||
{% endif %}
|
||||
{% if site.proxy_to is defined %}
|
||||
reverse_proxy {{ site.proxy_to }}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue