new role and FWCNs
This commit is contained in:
23
roles/reverseproxy/templates/Caddyfile.j2
Normal file
23
roles/reverseproxy/templates/Caddyfile.j2
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
email admin@example.net
|
||||
|
||||
acme_dns powerdns {
|
||||
api_url {env.PDNS_API_URL}
|
||||
api_key {env.PDNS_API_KEY}
|
||||
server_id {env.PDNS_SERVER_ID}
|
||||
}
|
||||
}
|
||||
|
||||
nextcloud.example.net {
|
||||
reverse_proxy 10.10.20.10:443
|
||||
tls {
|
||||
dns powerdns
|
||||
}
|
||||
}
|
||||
|
||||
gitea.example.org {
|
||||
reverse_proxy 10.10.30.20:3000
|
||||
tls {
|
||||
dns powerdns
|
||||
}
|
||||
}
|
||||
3
roles/reverseproxy/templates/powerdns.env.j2
Normal file
3
roles/reverseproxy/templates/powerdns.env.j2
Normal file
@@ -0,0 +1,3 @@
|
||||
PDNS_API_KEY="{{ pdns_api_key }}"
|
||||
PDNS_API_URL="{{ pdns_api_url }}"
|
||||
PDNS_SERVER_ID="{{ pdns_server_id }}"
|
||||
Reference in New Issue
Block a user