github.com/avenga/couper@v1.12.2/server/testdata/integration/api/14_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          websockets {
    11            timeout = "1ns"
    12          }
    13        }
    14      }
    15    }
    16  }
    17  
    18  settings {
    19    no_proxy_from_env = true
    20  }