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

     1  server {
     2    endpoint "/" {
     3      proxy {
     4        backend {
     5          origin = "{{ .origin }}"
     6          path = "/anonymous"
     7          max_connections = 1
     8        }
     9      }
    10    }
    11  
    12    endpoint "/be" {
    13      proxy {
    14        backend = "be"
    15      }
    16    }
    17  
    18    endpoint "/fake-sequence" {
    19      request {
    20        backend = "seq"
    21      }
    22  
    23      request "two" {
    24        url = "{{ .origin }}/two"
    25        backend = "seq"
    26      }
    27  
    28      request "three" {
    29        url = "{{ .origin }}/three"
    30        backend = "seq"
    31      }
    32    }
    33  }
    34  
    35  definitions {
    36    backend "be" {
    37      origin = "{{ .origin }}"
    38      path = "/reference"
    39      max_connections = 1
    40    }
    41  
    42    backend "seq" {
    43      origin = "{{ .origin }}"
    44      path = "/sequence"
    45      max_connections = 1
    46    }
    47  }