Closed tkan145 closed 1 month ago
Fix https://issues.redhat.com/browse/THREESCALE-5105
Please ignore codecov report. I will move tls.lua to apicast-nginx-module in the future commit.
make runtime-image IMAGE_NAME=apicast-test
cd dev-environments/https-proxy-upstream-tlsv1.3
apicast-config.json
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/https-proxy-upstream-tlsv1.3/docker-compose.yml b/dev-environments/https-proxy-upstream-tlsv1.3/docker-compose.yml index af418aca..b5b42341 100644 --- a/dev-environments/https-proxy-upstream-tlsv1.3/docker-compose.yml +++ b/dev-environments/https-proxy-upstream-tlsv1.3/docker-compose.yml @@ -24,6 +24,9 @@ services: - "8090:8090" volumes: - ./apicast-config.json:/tmp/config.json
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 < Content-Type: application/json < Transfer-Encoding: chunked < Connection: keep-alive < Server: gunicorn/19.9.0 < Access-Control-Allow-Credentials: true < Access-Control-Allow-Origin: *
Verification steps working like a charm
What
Fix https://issues.redhat.com/browse/THREESCALE-5105
NOTE
Please ignore codecov report. I will move tls.lua to apicast-nginx-module in the future commit.
Verification steps:
apicast-config.json
file as follow{
"name": "apicast.policy.http_proxy",
"configuration": {
... < HTTP/1.1 200 OK
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Server: gunicorn/19.9.0
< Access-Control-Allow-Credentials: true < Access-Control-Allow-Origin: *