Добавить конфигурацию для развертывания Caddy и обновить файлы конфигурации для различных сервисов
Some checks failed
Deploy Caddy / deploy (push) Has been cancelled
Deploy Caddy / validate (push) Has been cancelled

This commit is contained in:
Dmitry
2025-12-01 18:44:10 +03:00
commit 3f9326e71f
11 changed files with 332 additions and 0 deletions

28
conf.d/uptime.caddy Normal file
View File

@@ -0,0 +1,28 @@
http://uptime.ada-dev.ru {
redir https://uptime.ada-dev.ru{uri}
}
uptime.ada-dev.ru {
import mtls_protect
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
}
encode zstd gzip
reverse_proxy http://192.168.1.20:8011 {
transport http {
versions 1.1
read_timeout 3600s
write_timeout 3600s
response_header_timeout 3600s
dial_timeout 3600s
}
header_up Host {host}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
flush_interval -1
}
}