Skip to content

Commit b5d3202

Browse files
committed
terraform/do: Redirect wiki traffic to nomad LB
1 parent c2d6ce4 commit b5d3202

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

terraform/do/dns.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ resource "digitalocean_record" "f_sfo3_us" {
153153
#######################################################################
154154
# Services #
155155
# #
156-
# These services, with the exception of the legacy wiki, are all just #
157-
# CNAMEs onto other machines defined above. #
156+
# These services, with the exception of the website itself, are all #
157+
# just CNAMEs onto other machines defined above. #
158158
#######################################################################
159159

160160
resource "digitalocean_record" "build" {
@@ -208,9 +208,9 @@ resource "digitalocean_record" "sources" {
208208

209209
resource "digitalocean_record" "wiki" {
210210
domain = digitalocean_domain.voidlinux_org.name
211-
type = "A"
211+
type = "CNAME"
212212
name = "wiki"
213-
value = "148.251.199.115"
213+
value = "e-sfo3-us.m.${digitalocean_domain.voidlinux_org.name}."
214214
}
215215

216216
resource "digitalocean_record" "www" {

0 commit comments

Comments
 (0)