Skip to content

Commit 48058be

Browse files
committed
Update README instructions
1 parent 693d587 commit 48058be

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,14 @@ The file path needs to be in the `/app` directory.
293293
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
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

0 commit comments

Comments
 (0)