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_services/templates/Caddyfile.j2

81 lines
1.7 KiB
Caddyfile
Raw Normal View History

2022-12-21 21:25:10 +00:00
{
admin off
}
{{ 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:8096
2022-12-21 21:25:10 +00:00
}
{{ services.ipfs.domain }} {
tls {{ secrets.tls_email }} {
dns njalla {{ secrets.caddy.njalla_api_token }}
}
2022-12-21 21:25:10 +00:00
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
reverse_proxy ipfs_kubo:5001
2022-12-21 21:25:10 +00:00
}
{{ services.ipfs.gateway_domain }},
*.ipfs.{{ services.ipfs.gateway_domain }},
*.ipns.{{ services.ipfs.gateway_domain }} {
tls {{ secrets.tls_email }} {
dns njalla {{ secrets.caddy.njalla_api_token }}
}
2023-07-02 00:09:57 +00:00
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
reverse_proxy ipfs_kubo:8080
}
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
}
2022-12-28 17:24:27 +00:00
reverse_proxy monerod:18089
2022-12-21 21:25:10 +00:00
}
{{ 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
}
reverse_proxy nextcloud:80
}
{{ services.pihole.domain }} {
tls {{ secrets.tls_email }} {
dns njalla {{ secrets.caddy.njalla_api_token }}
}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
-Server
}
reverse_proxy pihole:80
}