File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,14 @@ The file path needs to be in the `/app` directory.
293293docker 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
294294```
295295
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+
296304
297305## Prometheus Metrics
298306
@@ -323,7 +331,7 @@ You can configure these metrics using the following variables:
323331
324332
325333
326- ## Building
334+ ## Building and developing locally
327335
328336 docker build -t mendhak/http-https-echo .
329337
You can’t perform that action at this time.
0 commit comments