This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
pi-ansible/roles/docker/templates/Caddyfile.j2
2022-12-21 22:25:10 +01:00

52 lines
896 B
Django/Jinja

{
admin off
}
{{ services.nextcloud.domain }} {
tls {{ secrets.tls.email }}
rewrite /.well-known/caldav /remote.php/dav
rewrite /.well-known/carddav /remote.php/dav
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
log {
output discard
}
reverse_proxy localhost:8080
}
{{ services.emby.domain }} {
tls {{ secrets.tls.email }}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
log {
output discard
}
reverse_proxy localhost:8096
}
{{ services.monerod.domain }}:18089 {
tls {{ secrets.tls.email }}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
log {
output discard
}
reverse_proxy localhost:18081
}