Добавить конфигурацию для развертывания 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/notes.caddy Normal file
View File

@@ -0,0 +1,28 @@
http://notes.ada-dev.ru {
redir https://trilium.ada-dev.ru{uri}
}
notes.ada-dev.ru {
encode zstd gzip
request_body {
max_size 1GB
}
reverse_proxy 192.168.1.20:8012 {
transport http {
dial_timeout 60s
response_header_timeout 60s
read_timeout 60s
write_timeout 60s
versions 1.1
}
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
}
}