caddy: mirror git.hacktivism.ch (9024) and forgejo-ssh :9200
Refresh Caddyfile from live layout; English comments; ACME/redirect host list includes git.; SSH note uses host port 9200.
This commit is contained in:
parent
8769d85e75
commit
b674e57f4e
1 changed files with 10 additions and 10 deletions
|
|
@ -129,16 +129,6 @@ bt.hacktivism.ch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
http://taler.hacktivism.ch, http://exchange.hacktivism.ch, http://bank.hacktivism.ch, http://castopod.hacktivism.ch, http://bonfire.hacktivism.ch, http://prime.hacktivism.ch, http://bt.hacktivism.ch {
|
|
||||||
handle /.well-known/acme-challenge/* {
|
|
||||||
root * /var/www/acme
|
|
||||||
file_server
|
|
||||||
}
|
|
||||||
handle {
|
|
||||||
redir https://{host}{uri} permanent
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# 9024 forgejo HTTP (SSH :9200 host-direct, not via Caddy)
|
# 9024 forgejo HTTP (SSH :9200 host-direct, not via Caddy)
|
||||||
git.hacktivism.ch {
|
git.hacktivism.ch {
|
||||||
header Alt-Svc "clear"
|
header Alt-Svc "clear"
|
||||||
|
|
@ -153,3 +143,13 @@ git.hacktivism.ch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
http://taler.hacktivism.ch, http://exchange.hacktivism.ch, http://bank.hacktivism.ch, http://castopod.hacktivism.ch, http://bonfire.hacktivism.ch, http://prime.hacktivism.ch, http://bt.hacktivism.ch, http://git.hacktivism.ch {
|
||||||
|
handle /.well-known/acme-challenge/* {
|
||||||
|
root * /var/www/acme
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
handle {
|
||||||
|
redir https://{host}{uri} permanent
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue