dns, fastly: add cache-staging.nixos.org domain + TLS subscription (#294)
Pierre Bourdon committed
Oct 27, 2023 at 16:31 UTC
71ec8a02ea7cb86377de939484394b80f4efe4cd
2 files changed
+11
terraform/cache.tf
+6
@@ -253,3 +253,9 @@ resource "fastly_tls_subscription" "cache" {
253
configuration_id = local.fastly_tls12_sni_configuration_id
254
certificate_authority = "globalsign"
255
}
256
+
257
+resource "fastly_tls_subscription" "cache-staging" {
258
+ domains = ["cache-staging.nixos.org"]
259
+ configuration_id = local.fastly_tls12_sni_configuration_id
260
+ certificate_authority = "globalsign"
261
+}
terraform/dns.tf
+5
@@ -106,6 +106,11 @@ locals {
106
type = "CNAME"
107
value = "dualstack.v2.shared.global.fastly.net"
108
},
109
+ {
110
+ hostname = "cache-staging.nixos.org"
111
+ type = "CNAME"
112
+ value = "dualstack.v2.shared.global.fastly.net"
113
+ },
114
{
115
hostname = "channels.nixos.org"
116
type = "CNAME"