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
|
|
|
|
|
|
|
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-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
|
|
|
|
proxy / git:3000 {
|
|
|
|
transparent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
https://gitlab.local.lan {
|
|
|
|
log / stdout "{host} - {common}"
|
|
|
|
errors stdout
|
|
|
|
tls self_signed
|
|
|
|
gzip
|
|
|
|
proxy / gitlab:80 {
|
|
|
|
transparent
|
|
|
|
}
|
2019-10-27 16:35:12 +01:00
|
|
|
}
|