Closed tkan145 closed 3 weeks ago
https://issues.redhat.com/browse/THREESCALE-11412
make runtime-image IMAGE_NAME=apicast-test
cd dev-environments/upstream-tlsv1.3
diff --git a/dev-environments/https-proxy-upstream-tlsv1.3/apicast-config.json b/dev-environments/https-proxy-upstream-tlsv1.3/apicast-config.json index 5227c5aa..09fb1ab9 100644 --- a/dev-environments/https-proxy-upstream-tlsv1.3/apicast-config.json +++ b/dev-environments/https-proxy-upstream-tlsv1.3/apicast-config.json @@ -11,6 +11,15 @@ "host": "backend" }, "policy_chain": [
diff --git a/dev-environments/upstream-tlsv1.3/docker-compose.yml b/dev-environments/upstream-tlsv1.3/docker-compose.yml index 5daf958f..fc03f24b 100644 --- a/dev-environments/upstream-tlsv1.3/docker-compose.yml +++ b/dev-environments/upstream-tlsv1.3/docker-compose.yml @@ -23,15 +23,19 @@ services: - "8090:8090" volumes: - ./apicast-config.json:/tmp/config.json
* Start gateway
make certs make gateway IMAGE_NAME=apicast-test
* Send request
curl --resolve get.example.com:8080:127.0.0.1 -v "http://get.example.com:8080/?user_key=123"
You should see 200 OK
< HTTP/1.1 200 OK < Server: openresty < Date: Tue, 29 Oct 2024 03:59:19 GMT < Content-Type: application/json < Content-Length: 220 < Connection: keep-alive < Access-Control-Allow-Origin: * < Access-Control-Allow-Credentials: true
What
https://issues.redhat.com/browse/THREESCALE-11412
Verification steps
{
"name": "apicast.policy.http_proxy",
"configuration": {
make certs make gateway IMAGE_NAME=apicast-test
curl --resolve get.example.com:8080:127.0.0.1 -v "http://get.example.com:8080/?user_key=123"
< HTTP/1.1 200 OK
< Server: openresty
< Date: Tue, 29 Oct 2024 03:59:19 GMT
< Content-Type: application/json
< Content-Length: 220
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true