Merge pull request 'fix(infra): restore git.gendsgn.ru block in Caddyfile' (#221) from fix/caddyfile-add-git-block into main
This commit is contained in:
commit
572d235d70
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