Format Caddyfile

This commit is contained in:
Florian Zirker 2024-12-10 13:45:54 +01:00
parent 02e5e0b682
commit 8325b9a759
4 changed files with 79 additions and 74 deletions

View file

@ -16,3 +16,12 @@ tab_width = 2
[*.md]
trim_trailing_whitespace = false
[Caddyfile]
indent_style = tab
indent_size = 4
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

View file

@ -1,7 +1,7 @@
{
# acme_ca https://acme-v02.api.letsencrypt.org/directory
email {env.EMAIL}
log {
log default {
output stdout
format console
}
}
@ -83,9 +83,3 @@
{$DOMAIN} {
redir https://www.{$DOMAIN}{uri}
}

2
proxy/reload.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
docker compose exec -w /etc/caddy caddy caddy reload