fix(infra): restore git.gendsgn.ru block in Caddyfile
Block был добавлен вручную при Forgejo migration (2026-05-16) но не закоммичен в repo. Первый Caddyfile-touching deploy (#205 GlitchTip) сделал git reset --hard origin/main на VPS → блок исчез → TLS handshake internal error 80 на git.gendsgn.ru (prod down ~16:30). Routes git.gendsgn.ru → forgejo:3000 (контейнер из forgejo-migration/ docker-compose.yml, shared gendesign_default network, Forgejo default HTTP port). VPS уже починен hotfix-ом руками; этот PR делает fix permanent — переживёт любой git reset --hard от deploy.yml.
This commit is contained in:
parent
99372a211f
commit
82931897dd
1 changed files with 16 additions and 0 deletions
16
Caddyfile
16
Caddyfile
|
|
@ -56,6 +56,22 @@ errors.gendsgn.ru {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Forgejo — self-hosted git (migration 2026-05-16).
|
||||||
|
# DNS: A-record git.gendsgn.ru → IP VPS.
|
||||||
|
# Forgejo container из forgejo-migration/docker-compose.yml на shared
|
||||||
|
# gendesign_default network. HTTP port 3000 (default Forgejo).
|
||||||
|
# Был добавлен вручную при migration, потерян при первом auto-deploy после
|
||||||
|
# изменения Caddyfile (deploy.yml делает git reset --hard). См. fix issue.
|
||||||
|
git.gendsgn.ru {
|
||||||
|
encode zstd gzip
|
||||||
|
|
||||||
|
reverse_proxy forgejo:3000
|
||||||
|
|
||||||
|
log {
|
||||||
|
output file /var/log/caddy/git.gendsgn.ru.log
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Plain HTTP by IP — kept for ssh-tunnel / debugging.
|
# Plain HTTP by IP — kept for ssh-tunnel / debugging.
|
||||||
# Caddy issues no TLS here (no hostname).
|
# Caddy issues no TLS here (no hostname).
|
||||||
:80 {
|
:80 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue