github.com/avenga/couper@v1.12.2/server/testdata/endpoints/05_couper.hcl (about)

     1  server "api-ac-1" {
     2    hosts = ["example.com:8080"]
     3  
     4    endpoint "/v1" {
     5      response {
     6        body = "s1"
     7      }
     8    }
     9  }
    10  
    11  server "api-ac-2" {
    12    hosts = ["v1.example.com:8080"]
    13  
    14    endpoint "/" {
    15      response {
    16        body = "s2"
    17      }
    18    }
    19  }