Skip to content

Commit 06a5523

Browse files
committed
doc: update README with existing config options
1 parent 38eb3f0 commit 06a5523

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,17 @@ debug = true
137137
test-pages = true
138138
```
139139

140-
Setting | Description
141-
:---------------| :-----------------------------------------------------------------------------
142-
listen | The listen address (see below)
143-
clamd-url | The URL of the clamd server
144-
application-url | (Optional) Forward all requests to this application
145-
log-file | (Optional) The clammit log file, if ommitted will log to stdout
146-
test-pages | (Optional) If true, clammit will also offer up a page to perform test uploads
147-
debug | (Optional) If true, more things will be logged
148-
debug-clam | (Optional) If true, the response from ClamAV will be logged
140+
Setting | Description
141+
:------------------------| :-----------------------------------------------------------------------------
142+
listen | The listen address (see below)
143+
unix-socket-perms | The file mode of the UNIX socket, if listening on one
144+
clamd-url | The URL of the clamd server
145+
virus-status-code | (Optional) The HTTP status code to return when a virus is found. Default 418
146+
application-url | (Optional) Forward all requests to this application
147+
content-memory-threshold | (Optional) Maximum payload size to keep in RAM. Larger files are spooled to disk
148+
log-file | (Optional) The clammit log file, if ommitted will log to stdout
149+
test-pages | (Optional) If true, clammit will also offer up a page to perform test uploads
150+
debug | (Optional) If true, more things will be logged
149151

150152
The listen address can be a TCP port or Unix socket, e.g.:
151153

0 commit comments

Comments
 (0)