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

     1  server {
     2    endpoint "/p1/{x}/{y}" {
     3      response {
     4        headers = {
     5          Match = "/p1/{x}/{y}"
     6        }
     7      }
     8    }
     9    endpoint "/**" {
    10      response {
    11        headers = {
    12          Match = "/**"
    13        }
    14      }
    15    }
    16    endpoint "/p2/{x}/{y}" {
    17      response {
    18        headers = {
    19          Match = "/p2/{x}/{y}"
    20        }
    21      }
    22    }
    23    endpoint "/p2/**" {
    24      response {
    25        headers = {
    26          Match = "/p2/**"
    27        }
    28      }
    29    }
    30    endpoint "/p3/{x}/{y}" {
    31      response {
    32        headers = {
    33          Match = "/p3/{x}/{y}"
    34        }
    35      }
    36    }
    37    endpoint "/p3/{x}" {
    38      response {
    39        headers = {
    40          Match = "/p3/{x}"
    41        }
    42      }
    43    }
    44    endpoint "/p3/**" {
    45      response {
    46        headers = {
    47          Match = "/p3/**"
    48        }
    49      }
    50    }
    51  }