79 lines
1.0 KiB
Caddyfile
79 lines
1.0 KiB
Caddyfile
{
|
|
email admin@juwan.xhttp.zip
|
|
servers {
|
|
enable_webtransport
|
|
}
|
|
}
|
|
|
|
(common_log) {
|
|
log {
|
|
output stdout
|
|
format console {
|
|
time_format common_log
|
|
time_local
|
|
}
|
|
}
|
|
}
|
|
|
|
(stream_proxy) {
|
|
flush_interval -1
|
|
transport http {
|
|
read_timeout 0
|
|
write_timeout 0
|
|
response_header_timeout 0
|
|
}
|
|
}
|
|
|
|
git.juwan.xhttp.zip {
|
|
import common_log
|
|
request_body {
|
|
max_size 2GB
|
|
}
|
|
reverse_proxy http://gitea:3000 {
|
|
import stream_proxy
|
|
}
|
|
}
|
|
|
|
registry.juwan.xhttp.zip {
|
|
import common_log
|
|
request_body {
|
|
max_size 2GB
|
|
}
|
|
reverse_proxy http://zot:5000 {
|
|
import stream_proxy
|
|
}
|
|
}
|
|
|
|
s3.juwan.xhttp.zip {
|
|
import common_log
|
|
request_body {
|
|
max_size 5GB
|
|
}
|
|
reverse_proxy http://garage:3900 {
|
|
import stream_proxy
|
|
}
|
|
}
|
|
|
|
juwan.xhttp.zip {
|
|
import common_log
|
|
|
|
handle /wt/* {
|
|
reverse_proxy https://140.82.15.92:8443 {
|
|
transport http {
|
|
versions 3
|
|
tls_insecure_skip_verify
|
|
}
|
|
}
|
|
}
|
|
|
|
handle {
|
|
reverse_proxy http://140.82.15.92:30080 {
|
|
lb_policy round_robin
|
|
health_uri /healthz
|
|
health_interval 10s
|
|
fail_duration 30s
|
|
import stream_proxy
|
|
}
|
|
}
|
|
}
|