@@ -21,13 +21,37 @@ resource "fastly_service_vcl" "cdn" {
21
21
name = " Generated_by_IP_block_list"
22
22
}
23
23
24
- backend { # TODO: add cabo stuffs
25
- # At least one attribute in this block is (or was) sensitive,
26
- # so its contents will not be displayed.
24
+ backend {
25
+ name = " cabotage"
26
+ address = " test-pythondotorg.ingress.us-east-2.psfhosted.computer"
27
+ port = 443
28
+ shield = " iad-va-us"
29
+ auto_loadbalance = false
30
+ ssl_check_cert = true
31
+ ssl_cert_hostname = " test-pythondotorg.ingress.us-east-2.psfhosted.computer"
32
+ ssl_sni_hostname = " test-pythondotorg.ingress.us-east-2.psfhosted.computer"
33
+ weight = 100
34
+ max_conn = 200
35
+ connect_timeout = 1000
36
+ first_byte_timeout = 30000
37
+ between_bytes_timeout = 10000
27
38
}
28
- backend { # TODO: unsure what this onewas, i think maybe lb?
29
- # At least one attribute in this block is (or was) sensitive,
30
- # so its contents will not be displayed.
39
+
40
+ backend {
41
+ name = " loadbalancer"
42
+ address = " lb.nyc1.psf.io"
43
+ shield = " iad-va-us"
44
+ healthcheck = " HAProxy Status"
45
+ auto_loadbalance = false
46
+ ssl_check_cert = true
47
+ ssl_cert_hostname = " lb.psf.io"
48
+ ssl_sni_hostname = " lb.psf.io"
49
+ ssl_ca_cert = " " # TODO(@ee)
50
+ weight = 100
51
+ max_conn = 200
52
+ connect_timeout = 1000
53
+ first_byte_timeout = 15000
54
+ between_bytes_timeout = 10000
31
55
}
32
56
33
57
cache_setting {
@@ -327,7 +351,7 @@ resource "fastly_service_vcl" "cdn" {
327
351
logger_type = " datadog"
328
352
name = " test.python.org backends"
329
353
penalty_box_duration = 2
330
- ratelimiter_id = " ..." # TODO: create one for ngwaf test service
354
+ ratelimiter_id = " ..." # TODO: create specific one for ngwaf test service? prod one is 5S7R6aG8KoT6QqtXFd1Nfk
331
355
response_object_name = null
332
356
rps_limit = 10
333
357
uri_dictionary_name = null
0 commit comments