container-server/proxy/Caddyfile

37 lines
777 B
Text
Raw Normal View History

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
}
}