# caddyfile mar 2022 { admin 0.0.0.0:2015 email bunce.andy@gmail.com } # Physical (omv) { reverse_proxy 192.168.1.6:{args.0} } (n2) { reverse_proxy 192.168.1.4:{args.0} } (n2plus) { reverse_proxy 192.168.1.10:{args.0} } # DNS (duckdns) { tls { dns duckdns { api_token 428a1b3b-bc1d-4906-a230-9cd0a72fd06b } } } # Auth (auth_quodatum) { basicauth { andy JDJhJDE0JDFHeUJHdGdZalFRdDg0cWhsRTFXeXU0cWZqZDNCNVV1d2gyRUlaNXhBMDFiZEFBZk5zM2RD guest JDJhJDE0JDVYTENVREtLbG5xdzUyNXFGdm56Ti5rVmFSZ3VoOEZQR015V0F6VjdaMk1SeGM1NXVVeWR1 } } (auth) { basicauth { andy JDJhJDE0JDFHeUJHdGdZalFRdDg0cWhsRTFXeXU0cWZqZDNCNVV1d2gyRUlaNXhBMDFiZEFBZk5zM2RD solange JDJhJDE0JE9kcjNWY1U4VS54M2IwUmJuV1UwYS41SDRQQi9Kc2lDUDBKUkpkVjNVc1I2dUNyYzl5MU9x } } # quodatum *.quodatum.duckdns.org { import duckdns import auth_quodatum @git host git.quodatum.duckdns.org handle @git { import omv 8300 } @wiki host wiki.quodatum.duckdns.org handle @wiki { import n2 8088 } @code host code.quodatum.duckdns.org handle @code { import n2plus 8444 } # Fallback for otherwise unhandled domains handle { abort } } # orlop ------------------------------------ *.orlop.duckdns.org { import duckdns @jellyfin host jellyfin.orlop.duckdns.org handle @jellyfin { import omv 8096 } @emby host emby.orlop.duckdns.org handle @emby { import omv 8097 } @test host test.orlop.duckdns.org handle @test { respond "test, test. Hello, world!" } # Fallback for otherwise unhandled domains handle { abort } } # local domain odroid.local { tls internal import auth encode zstd gzip root . file_server browse } xu4.local { tls internal import auth encode zstd gzip root * links file_server browse }