Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/cdn/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "fastly_service_vcl" "python_org" {
connect_timeout = 1000
first_byte_timeout = 30000
between_bytes_timeout = 10000
override_host = var.subdomain == "www.test.python.org" ? "www.python.org" : null
override_host = var.backend_address
}

backend {
Expand Down
4 changes: 2 additions & 2 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module "fastly_production" {
domain = "python.org"
subdomain = "www.python.org"
extra_domains = ["www.python.org"]
backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer"
backend_address = "psf-pythondotorg-pythondotorg-b0dbd19e-web.psfhosted.net"
default_ttl = 3600

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

datadog_key = var.DATADOG_API_KEY
Expand Down