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

     1  server "ws" {
     2    api {
     3      endpoint "/upgrade" {
     4        proxy {
     5          backend {
     6            origin = env.COUPER_TEST_BACKEND_ADDR
     7            # /ws path is a echo websocket upgrade handler at our test-backend
     8            path = "/ws"
     9  
    10            set_response_headers = {
    11              Abc = "123"
    12            }
    13          }
    14          websockets = true
    15        }
    16      }
    17    }
    18  }
    19  
    20  settings {
    21    no_proxy_from_env = true
    22  }