github.com/avenga/couper@v1.12.2/server/testdata/endpoints/09_couper.hcl (about) 1 server "api" { 2 error_file = "./../integration/server_error.html" 3 4 endpoint "/" { 5 proxy { 6 url = "/?delay=5s" 7 backend { 8 origin = "${env.COUPER_TEST_BACKEND_ADDR}" 9 timeout = "1s" 10 # should not run 11 set_response_headers = { 12 x-backend = 1 13 } 14 } 15 } 16 17 # should not run 18 set_response_headers = { 19 x-endpoint = 1 20 } 21 22 # should not run 23 response { 24 body = "pest" 25 } 26 } 27 }