mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Alternative domain for nextcloud
This commit is contained in:
parent
73030033d0
commit
b3b6ec1cbb
2 changed files with 14 additions and 4 deletions
|
|
@ -4,14 +4,22 @@ locals {
|
|||
hel1_ipv6 = "2a01:4f9:3100:1202::2"
|
||||
}
|
||||
|
||||
data "hetznerdns_zone" "banditlair_zone" {
|
||||
name = "banditlair.com"
|
||||
}
|
||||
|
||||
data "hetznerdns_zone" "froidmont_solutions_zone" {
|
||||
name = "froidmont.solutions"
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "nextcloud_froidmont_solutions_a" {
|
||||
zone_id = data.hetznerdns_zone.froidmont_solutions_zone.id
|
||||
name = "cloud"
|
||||
value = local.hel1_ip
|
||||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
data "hetznerdns_zone" "banditlair_zone" {
|
||||
name = "banditlair.com"
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "banditlair_hcloud_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue