container-server/proxy/Caddyfile
2019-10-27 16:35:12 +01:00

36 lines
777 B
Caddyfile

https://local.lan {
log / stdout "{host} - {common}"
errors stdout
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
}
}
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
}
}