2019-10-21 21:57:02 +02:00
|
|
|
https://local.lan {
|
2019-10-27 16:35:12 +01:00
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
2019-10-21 21:57:02 +02:00
|
|
|
tls self_signed
|
|
|
|
gzip
|
|
|
|
root /srv/homepage
|
|
|
|
git {
|
|
|
|
repo ssh://git@gitlab.csprung.de:vserver/homepage.git
|
|
|
|
path /build/homepage
|
|
|
|
key /root/deploy_keys/caddy
|
|
|
|
hook /__gitlab_hook__
|
|
|
|
clone_args --recurse-submodules
|
|
|
|
pull_args --recurse-submodules
|
|
|
|
then hugo --cleanDestinationDir --destination /srv/homepage
|
|
|
|
}
|
|
|
|
}
|
2019-10-27 16:35:12 +01:00
|
|
|
|
2019-11-02 19:28:50 +01:00
|
|
|
http://*.local.lan {
|
|
|
|
redir https://{host}{uri}
|
|
|
|
}
|
|
|
|
|
2019-10-27 16:35:12 +01:00
|
|
|
https://echo.local.lan {
|
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
|
|
|
tls self_signed
|
|
|
|
gzip
|
|
|
|
proxy / echo:8000 {
|
|
|
|
transparent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
https://cloud.local.lan {
|
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
|
|
|
tls self_signed
|
|
|
|
gzip
|
|
|
|
proxy / nextcloud:80 {
|
|
|
|
transparent
|
2019-11-02 19:28:50 +01:00
|
|
|
header_upstream X-Forwarded-Host {host}
|
2019-10-27 16:35:12 +01:00
|
|
|
}
|
2019-10-27 20:03:24 +01:00
|
|
|
redir {
|
|
|
|
/.well-known/carddav /remote.php/dav
|
|
|
|
/.well-known/caldav /remote.php/dav
|
|
|
|
/.well-known/webfinger /public.php?service=webfinger
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
https://git.local.lan {
|
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
|
|
|
tls self_signed
|
|
|
|
gzip
|
2019-11-02 21:50:28 +01:00
|
|
|
proxy / gitea:3000 {
|
2019-10-27 20:03:24 +01:00
|
|
|
transparent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-02 21:50:28 +01:00
|
|
|
https://ci.local.lan {
|
2019-10-27 20:03:24 +01:00
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
|
|
|
tls self_signed
|
|
|
|
gzip
|
2019-11-02 21:50:28 +01:00
|
|
|
proxy / drone:80 {
|
2019-10-27 20:03:24 +01:00
|
|
|
transparent
|
|
|
|
}
|
2019-10-27 16:35:12 +01:00
|
|
|
}
|
2019-11-02 23:56:28 +01:00
|
|
|
|
|
|
|
https://dockerecho.local.lan {
|
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
|
|
|
tls self_signed
|
|
|
|
gzip
|
|
|
|
proxy / docker-ci-echo:8000 {
|
|
|
|
transparent
|
|
|
|
}
|
|
|
|
}
|