Skip to content

Commit 27fb52a

Browse files
authored
update backend address for new ingress (#2958)
1 parent 9386430 commit 27fb52a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

infra/cdn/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resource "fastly_service_vcl" "python_org" {
3232
connect_timeout = 1000
3333
first_byte_timeout = 30000
3434
between_bytes_timeout = 10000
35-
override_host = var.subdomain == "www.test.python.org" ? "www.python.org" : null
35+
override_host = var.backend_address
3636
}
3737

3838
backend {

infra/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module "fastly_production" {
55
domain = "python.org"
66
subdomain = "www.python.org"
77
extra_domains = ["www.python.org"]
8-
backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer"
8+
backend_address = "psf-pythondotorg-pythondotorg-b0dbd19e-web.psfhosted.net"
99
default_ttl = 3600
1010

1111
datadog_key = var.DATADOG_API_KEY
@@ -27,7 +27,7 @@ module "fastly_staging" {
2727
subdomain = "www.test.python.org"
2828
extra_domains = ["www.test.python.org"]
2929
# TODO: adjust to test-pythondotorg when done testing NGWAF
30-
backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer"
30+
backend_address = "psf-pythondotorg-pythondotorg-b0dbd19e-web.psfhosted.net"
3131
default_ttl = 3600
3232

3333
datadog_key = var.DATADOG_API_KEY

0 commit comments

Comments
 (0)