github.com/avenga/couper@v1.12.2/server/testdata/endpoints/18_couper.hcl (about) 1 server "couper" { 2 endpoint "/abcdef" { 3 proxy = "test" 4 response { 5 status = 204 6 } 7 } 8 endpoint "/reuse" { 9 proxy = "test" 10 response { 11 status = 204 12 } 13 } 14 15 endpoint "/default" { 16 proxy = "defaultName" 17 } 18 19 api { 20 endpoint "/api-abcdef" { 21 proxy = "test" 22 response { 23 status = 204 24 } 25 } 26 endpoint "/api-reuse" { 27 proxy = "test" 28 response { 29 status = 204 30 } 31 } 32 33 endpoint "/api-default" { 34 proxy = "defaultName" 35 } 36 } 37 } 38 39 definitions { 40 proxy "defaultName" { 41 url = "${env.COUPER_TEST_BACKEND_ADDR}/anything" 42 } 43 44 proxy "test" { 45 name = "abcdef" 46 url = "${env.COUPER_TEST_BACKEND_ADDR}/anything" 47 } 48 }