2022-03-31 21:37:12 +01:00
|
|
|
# caddyfile mar 2022
|
2021-12-25 20:07:37 +00:00
|
|
|
{
|
|
|
|
admin 0.0.0.0:2015
|
|
|
|
email bunce.andy@gmail.com
|
2022-03-31 21:37:12 +01:00
|
|
|
}
|
2021-12-25 20:07:37 +00:00
|
|
|
|
2022-03-31 21:37:12 +01:00
|
|
|
# Physical
|
|
|
|
(omv) {
|
|
|
|
reverse_proxy 192.168.1.6:{args.0}
|
2021-12-25 20:07:37 +00:00
|
|
|
}
|
2022-03-31 21:37:12 +01:00
|
|
|
(n2) {
|
|
|
|
reverse_proxy 192.168.1.4:{args.0}
|
|
|
|
}
|
2022-03-31 22:15:50 +01:00
|
|
|
(n2plus) {
|
|
|
|
reverse_proxy 192.168.1.10:{args.0}
|
|
|
|
}
|
2022-03-31 21:37:12 +01:00
|
|
|
# DNS
|
|
|
|
(duckdns) {
|
2022-03-29 22:21:05 +01:00
|
|
|
tls {
|
2022-03-31 21:37:12 +01:00
|
|
|
dns duckdns {
|
2022-03-30 09:22:10 +01:00
|
|
|
api_token 428a1b3b-bc1d-4906-a230-9cd0a72fd06b
|
|
|
|
}
|
2022-03-29 22:21:05 +01:00
|
|
|
}
|
2022-03-31 21:37:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# Auth
|
|
|
|
(auth) {
|
|
|
|
basicauth {
|
|
|
|
# hiccup
|
|
|
|
apb JDJhJDEwJEVCNmdaNEg2Ti5iejRMYkF3MFZhZ3VtV3E1SzBWZEZ5Q3VWc0tzOEJwZE9TaFlZdEVkZDhX
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# quodatum
|
|
|
|
*.quodatum.duckdns.org {
|
|
|
|
import duckdns
|
2021-12-25 20:07:37 +00:00
|
|
|
|
2022-03-29 22:21:05 +01:00
|
|
|
@git host git.quodatum.duckdns.org
|
|
|
|
handle @git {
|
2022-03-31 21:37:12 +01:00
|
|
|
import omv 8300
|
2022-03-29 22:21:05 +01:00
|
|
|
}
|
|
|
|
@wiki host wiki.quodatum.duckdns.org
|
2022-03-30 22:28:17 +01:00
|
|
|
handle @wiki {
|
2022-03-31 22:10:37 +01:00
|
|
|
import n2 8088
|
2022-03-30 22:28:17 +01:00
|
|
|
}
|
2022-03-31 22:01:00 +01:00
|
|
|
@code host code.quodatum.duckdns.org
|
2022-03-30 22:28:17 +01:00
|
|
|
handle @code {
|
2022-03-31 22:15:50 +01:00
|
|
|
import n2plus 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-31 22:50:59 +01:00
|
|
|
# orlop ------------------------------------
|
2022-03-29 22:21:05 +01:00
|
|
|
*.orlop.duckdns.org {
|
2022-03-31 21:37:12 +01:00
|
|
|
import duckdns
|
2022-03-29 22:21:05 +01:00
|
|
|
@jellyfin host jellyfin.orlop.duckdns.org
|
|
|
|
handle @jellyfin {
|
2022-03-31 21:37:12 +01:00
|
|
|
import omv 8096
|
2022-03-29 22:21:05 +01:00
|
|
|
}
|
2022-03-31 23:03:06 +01:00
|
|
|
@emby host emby.orlop.duckdns.org
|
|
|
|
handle @emby {
|
|
|
|
import omv 8097
|
|
|
|
}
|
2022-03-29 22:21:05 +01:00
|
|
|
# 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
|
2022-03-31 21:37:12 +01:00
|
|
|
import auth
|
2022-03-30 23:21:27 +01:00
|
|
|
|
|
|
|
encode zstd gzip
|
|
|
|
root .
|
|
|
|
file_server browse
|
|
|
|
}
|
|
|
|
xu4.local {
|
|
|
|
tls internal
|
2022-03-31 21:37:12 +01:00
|
|
|
import auth
|
2022-03-30 23:21:27 +01:00
|
|
|
|
2022-03-30 22:28:17 +01:00
|
|
|
encode zstd gzip
|
2022-03-31 22:01:00 +01:00
|
|
|
root links
|
2022-03-30 23:21:27 +01:00
|
|
|
file_server browse
|
2022-03-30 22:28:17 +01:00
|
|
|
}
|