github.com/avenga/couper@v1.12.2/server/testdata/integration/config/01_couper.hcl (about) 1 server "hcl" { 2 api { 3 endpoint "/" { 4 proxy { 5 backend = "a" 6 } 7 } 8 endpoint "/expired" { 9 proxy { 10 backend = "b" 11 } 12 } 13 } 14 } 15 16 definitions { 17 backend "a" { 18 origin = "https://blackhole.webpagetest.org" 19 timeout = "2s" 20 } 21 22 backend "b" { 23 origin = "{{ .expiredOrigin }}" 24 path = "/anything" 25 disable_certificate_validation = true 26 } 27 28 basic_auth "parse-only" {} 29 } 30 31 settings { 32 default_port = 8090 33 no_proxy_from_env = true 34 ca_file = "{{ .caFile }}" 35 }