fix subdomain for terranix.org
This commit is contained in:
parent
acaec28a55
commit
29e64a2f82
1 changed files with 10 additions and 5 deletions
|
@ -21,20 +21,25 @@ resource "namecheap_domain_records" "terranix" {
|
||||||
ttl = local.normal_ttl
|
ttl = local.normal_ttl
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
}
|
}
|
||||||
|
record {
|
||||||
|
address = "terranix.github.io"
|
||||||
|
hostname = "www"
|
||||||
|
mx_pref = 10
|
||||||
|
ttl = local.normal_ttl
|
||||||
|
type = "CNAME"
|
||||||
|
}
|
||||||
|
|
||||||
# subdomain regex
|
# matrix.terranix.org
|
||||||
record {
|
record {
|
||||||
address = "144.76.13.147"
|
address = "144.76.13.147"
|
||||||
hostname = "*"
|
hostname = "matrix"
|
||||||
mx_pref = 10
|
mx_pref = 10
|
||||||
ttl = local.normal_ttl
|
ttl = local.normal_ttl
|
||||||
type = "A"
|
type = "A"
|
||||||
}
|
}
|
||||||
|
|
||||||
# matrix.terranix.org (needed?)
|
|
||||||
record {
|
record {
|
||||||
address = "144.76.13.147"
|
address = "144.76.13.147"
|
||||||
hostname = "matrix"
|
hostname = "element"
|
||||||
mx_pref = 10
|
mx_pref = 10
|
||||||
ttl = local.normal_ttl
|
ttl = local.normal_ttl
|
||||||
type = "A"
|
type = "A"
|
||||||
|
|
Loading…
Reference in a new issue