[mod] caddy

This commit is contained in:
Andy Bunce 2022-04-02 13:11:52 +01:00
parent 174063efa3
commit a8e06e51bd
1 changed files with 15 additions and 5 deletions

View File

@ -2,6 +2,7 @@
{ {
admin 0.0.0.0:2015 admin 0.0.0.0:2015
email bunce.andy@gmail.com email bunce.andy@gmail.com
} }
# Physical # Physical
@ -24,13 +25,18 @@
} }
# Auth # Auth
(auth) { (auth_quodatum) {
basicauth { basicauth {
# hiccup andy JDJhJDE0JDFHeUJHdGdZalFRdDg0cWhsRTFXeXU0cWZqZDNCNVV1d2gyRUlaNXhBMDFiZEFBZk5zM2RD
apb JDJhJDEwJEVCNmdaNEg2Ti5iejRMYkF3MFZhZ3VtV3E1SzBWZEZ5Q3VWc0tzOEJwZE9TaFlZdEVkZDhX guest JDJhJDE0JDVYTENVREtLbG5xdzUyNXFGdm56Ti5rVmFSZ3VoOEZQR015V0F6VjdaMk1SeGM1NXVVeWR1
}
}
(auth) {
basicauth {
andy JDJhJDE0JDFHeUJHdGdZalFRdDg0cWhsRTFXeXU0cWZqZDNCNVV1d2gyRUlaNXhBMDFiZEFBZk5zM2RD
solange JDJhJDE0JE9kcjNWY1U4VS54M2IwUmJuV1UwYS41SDRQQi9Kc2lDUDBKUkpkVjNVc1I2dUNyYzl5MU9x
} }
} }
# quodatum # quodatum
*.quodatum.duckdns.org { *.quodatum.duckdns.org {
import duckdns import duckdns
@ -63,6 +69,10 @@
handle @emby { handle @emby {
import omv 8097 import omv 8097
} }
@test host test.orlop.duckdns.org
handle @test {
respond "test, test. Hello, world!"
}
# Fallback for otherwise unhandled domains # Fallback for otherwise unhandled domains
handle { handle {
abort abort
@ -82,6 +92,6 @@ xu4.local {
import auth import auth
encode zstd gzip encode zstd gzip
root links root * links
file_server browse file_server browse
} }