1
0
Fork 0

хозяйственная работа: некоторый младший щипает здесь и там

This commit is contained in:
Arthur K. 2026-01-27 14:24:29 +03:00
parent 1d4bb2a118
commit 7f7d10aeee
Signed by: wzray
GPG key ID: B97F30FDC4636357
7 changed files with 60 additions and 30 deletions

View file

@ -14,6 +14,10 @@ http://ядро.орг, http://*.ядро.орг {
# we don't want to flood the upstream from the same IP
mode bypass
ttl 30m
timeout {
backend 10m
}
}
import Caddyfile.yadro proxy:80
@ -23,6 +27,12 @@ http://ядро.орг, http://*.ядро.орг {
reverse_proxy {
dynamic a puppy 80
lb_policy least_conn
transport http {
response_header_timeout 10m
read_timeout 10m
write_timeout 10m
}
}
cache {
@ -34,7 +44,7 @@ http://ядро.орг, http://*.ядро.орг {
}
timeout {
backend 1m
backend 10m
}
}
}

View file

@ -75,6 +75,6 @@ handle @surely_static {
redir @known_host https://{kernel}{uri} permanent
}
# TOOO: cache by path for 30 minutes
# TODO: cache by path for 30 minutes
reverse_proxy {args[0]}