github.com/avenga/couper@v1.12.2/server/testdata/integration/logs/03_couper.hcl (about)

     1  server "couper" {
     2    error_file = "./../server_error.html"
     3  
     4    api {
     5      error_file = "./../api_error.json"
     6  
     7      endpoint "/" {
     8        proxy {
     9          backend = "anything"
    10        }
    11      }
    12    }
    13  }
    14  
    15  definitions {
    16    # backend origin within a definition block gets replaced with the integration test "anything" server.
    17    backend "anything" {
    18      path = "/error"
    19      origin = env.COUPER_TEST_BACKEND_ADDR
    20    }
    21  }