Format Caddyfile
This commit is contained in:
parent
02e5e0b682
commit
8325b9a759
4 changed files with 79 additions and 74 deletions
|
@ -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
|
||||
|
|
|
@ -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
2
proxy/reload.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
docker compose exec -w /etc/caddy caddy caddy reload
|
Loading…
Add table
Reference in a new issue