You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ It comes with various options that can manipulate the response output, see the t
8
8
9
9

10
10
11
-
The image is available on [Docker Hub](https://hub.docker.com/r/mendhak/http-https-echo): `mendhak/http-https-echo:35`
12
-
The image is available on [Github Container Registry](https://github.com/mendhak/docker-http-https-echo/pkgs/container/http-https-echo): `ghcr.io/mendhak/http-https-echo:35`
11
+
The image is available on [Docker Hub](https://hub.docker.com/r/mendhak/http-https-echo): `mendhak/http-https-echo:36`
12
+
The image is available on [Github Container Registry](https://github.com/mendhak/docker-http-https-echo/pkgs/container/http-https-echo): `ghcr.io/mendhak/http-https-echo:36`
13
13
14
14
Please do not use the `:latest` tag as it will break without warning, use a specific version instead.
15
15
@@ -44,7 +44,7 @@ This image is executed as non root by default and is fully compliant with Kubern
44
44
45
45
Run with Docker
46
46
47
-
docker run -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:35
47
+
docker run -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:36
48
48
49
49
Or run with Docker Compose
50
50
@@ -61,13 +61,13 @@ You can choose a different internal port instead of 8080 and 8443 with the `HTTP
61
61
62
62
In this example I'm setting http to listen on 8888, and https to listen on 9999.
Now make your request with `Authentication: eyJ...` header (it should also work with the `Authentication: Bearer eyJ...` schema too):
@@ -111,21 +111,21 @@ And in the output you should see a `jwt` section.
111
111
112
112
In the log output set the environment variable `DISABLE_REQUEST_LOGS` to true, to disable the specific ExpressJS request log lines. The ones like `::ffff:172.17.0.1 - - [03/Jan/2022:21:31:51 +0000] "GET /xyz HTTP/1.1" 200 423 "-" "curl/7.68.0"`. The JSON output will still appear.
By default, the headers in the response body are lowercased. To attempt to preserve the case of headers in the response body, set the environment variable `PRESERVE_HEADER_CASE` to true.
0 commit comments