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

40 lines
782 B
Caddyfile
Raw Normal View History

2022-12-21 21:25:10 +00:00
{
admin off
}
{{ services.nextcloud.domain }} {
2022-12-22 19:18:27 +00:00
tls {{ secrets.tls_email }}
2022-12-21 21:25:10 +00:00
rewrite /.well-known/caldav /remote.php/dav
rewrite /.well-known/carddav /remote.php/dav
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
reverse_proxy nextcloud_app_1:80
2022-12-21 21:25:10 +00:00
}
{{ services.emby.domain }} {
2022-12-22 19:18:27 +00:00
tls {{ secrets.tls_email }}
2022-12-21 21:25:10 +00:00
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
reverse_proxy emby_app:8096
2022-12-21 21:25:10 +00:00
}
{{ services.monerod.domain }}:18089 {
2022-12-22 19:18:27 +00:00
tls {{ secrets.tls_email }}
2022-12-21 21:25:10 +00:00
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
reverse_proxy monerod_node:18089
2022-12-21 21:25:10 +00:00
}