nixos-config/hosts/chunk/Caddyfile

76 lines
1.2 KiB
Text
Raw Normal View History

2024-12-13 22:01:01 -05:00
{
acme_ca https://acme.zerossl.com/v2/DV90
acme_eab {
key_id {$EAB_KEY_ID}
mac_key {$EAB_MAC_KEY}
}
}
2024-12-17 15:58:25 -05:00
(common) {
encode zstd gzip
header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
2024-12-13 22:01:01 -05:00
}
git.cy7.sh, git.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-15 01:58:51 -05:00
reverse_proxy unix//run/gitlab/gitlab-workhorse.socket
2024-12-13 22:01:01 -05:00
}
2024-12-14 22:27:12 -05:00
rss.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8080
}
photos.cy7.sh {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:2283
}
matrix.cy7.sh, chat.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8448
}
pass.cy7.sh {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8081
}
2024-12-14 16:19:04 -05:00
dns.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8082
}
ntfy.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8083
}
cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
uri strip_prefix /blog
reverse_proxy /.well-known/matrix/* localhost:8448
reverse_proxy /_matrix/* localhost:8448
reverse_proxy localhost:8084
}
www.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
redir https://cything.io{uri} permanent
}
pad.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8085
}
red.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-13 22:01:01 -05:00
reverse_proxy localhost:8087
}
2024-12-15 18:42:50 -05:00
grafana.cything.io {
2024-12-17 15:58:25 -05:00
import common
2024-12-15 18:42:50 -05:00
reverse_proxy localhost:8088
}