thedocks/caddy/Caddyfile

71 lines
1.3 KiB
Caddyfile
Raw Normal View History

2021-12-25 19:41:18 +00:00
# caddyfile dec 2021
2021-12-25 20:07:37 +00:00
{
admin 0.0.0.0:2015
email bunce.andy@gmail.com
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
}
2022-03-29 22:21:05 +01:00
# quodatum
*.quodatum.duckdns.org {
tls {
2022-03-30 09:22:10 +01:00
dns duckdns {
api_token 428a1b3b-bc1d-4906-a230-9cd0a72fd06b
}
2022-03-29 22:21:05 +01:00
}
2021-12-25 20:07:37 +00:00
2022-03-29 22:21:05 +01:00
@git host git.quodatum.duckdns.org
handle @git {
reverse_proxy omv.local:8300
}
@wiki host wiki.quodatum.duckdns.org
2022-03-30 22:28:17 +01:00
handle @wiki {
reverse_proxy odroid-n2.local:8088
}
@code host wiki.quodatum.duckdns.org
handle @code {
reverse_proxy odroid-n2.local:8444
2022-03-29 22:21:05 +01:00
}
# Fallback for otherwise unhandled domains
handle {
abort
}
2022-01-06 19:14:35 +00:00
}
2022-03-29 22:21:05 +01:00
# orlop
*.orlop.duckdns.org {
tls {
2022-03-30 09:22:10 +01:00
dns duckdns {
api_token 28a1b3b-bc1d-4906-a230-9cd0a72fd06b
}
2022-03-29 22:21:05 +01:00
}
@jellyfin host jellyfin.orlop.duckdns.org
handle @jellyfin {
reverse_proxy omv.local:8096
}
# Fallback for otherwise unhandled domains
handle {
abort
}
2021-12-24 22:48:02 +00:00
}
2022-03-30 22:28:17 +01:00
# local domain
odroid.local {
2022-03-30 23:21:27 +01:00
tls internal
basicauth {
Bob JDJhJDEwJEVCNmdaNEg2Ti5iejRMYkF3MFZhZ3VtV3E1SzBWZEZ5Q3VWc0tzOEJwZE9TaFlZdEVkZDhX
}
encode zstd gzip
root .
file_server browse
}
xu4.local {
tls internal
# hiccup
basicauth {
Bob JDJhJDEwJEVCNmdaNEg2Ti5iejRMYkF3MFZhZ3VtV3E1SzBWZEZ5Q3VWc0tzOEJwZE9TaFlZdEVkZDhX
}
2022-03-30 22:28:17 +01:00
encode zstd gzip
2022-03-30 23:21:27 +01:00
root .
file_server browse
2022-03-30 22:28:17 +01:00
}