We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 693d587 commit 48058beCopy full SHA for 48058be
1 file changed
README.md
@@ -293,6 +293,14 @@ The file path needs to be in the `/app` directory.
293
docker run -d --rm -v ${PWD}/test.html:/app/test.html -p 8080:8080 -e OVERRIDE_RESPONSE_BODY_FILE_PATH=/test.html -t mendhak/http-https-echo:37
294
```
295
296
+## Set a maximum header size
297
+
298
+You can use the `MAX_HEADER_SIZE` environment variable to set a maximum header size in bytes. The default is 1MB.
299
300
+```bash
301
+docker run -d --rm -e MAX_HEADER_SIZE=1000 -p 8080:8080 -p 8443:8443 -t mendhak/http-https-echo:37
302
+```
303
304
305
## Prometheus Metrics
306
@@ -323,7 +331,7 @@ You can configure these metrics using the following variables:
323
331
324
332
325
333
326
-## Building
334
+## Building and developing locally
327
335
328
336
docker build -t mendhak/http-https-echo .
329
337
0 commit comments