From 021a0a96ab7bc7695a616a4a3ce2e41a48d9c228 Mon Sep 17 00:00:00 2001 From: Reinaldo Araujo Date: Wed, 26 May 2021 16:30:17 -0300 Subject: [PATCH] Fix Forbbiden --- README.md | 5 +++-- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d057688..5a3cebc 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,11 @@ And then run a `curl` **with** a valid client certificate to see the `api.mocki. curl --cacert example/sidecar/server-certs/server-ca.pem --key example/client/certs/client-key.pem --cert example/client/certs/client.pem -k https://localhost ``` -Response: +Response will be the home page of https://mtls.run/: ```bash -[{"title":"Clean kitchen","description":"Don't forget the are under the sink!!"},{"title":"Call Eric","description":"Remind him to do his taxes"},{"title":"Water flowers","description":"Don't forget the ones in the garden!"}] +!DOCTYPE html>mTLS Best Friend +... ``` ## The whole pattern diff --git a/docker-compose.yml b/docker-compose.yml index 773f4c5..14497bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: build: . environment: - ALLOWED_CERTIFICATE_FINGERPRINT=all - - PROXY_PASS=https://api.mocki.io:443/v1/13f44462 + - PROXY_PASS=https://mtls.run/ volumes: - ./example/sidecar/server-certs:/etc/nginx/conf.d/certs ports: