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
+1
Original file line number
Diff line number
Diff line change
@@ -344,6 +344,7 @@ can be decided automatically, so some configuration options are provided.
344
344
|`proxy_protocol`|`bool`|`false`| Enables the [PROXY protocol](https://www.haproxy.com/blog/haproxy/proxy-protocol/). Versions 1 and 2 are supported. Only enable this setting if using Lwan behind a proxy, and the proxy supports this protocol; otherwise, this allows anybody to spoof origin IP addresses |
345
345
|`max_post_data_size`|`int`|`40960`| Sets the maximum number of data size for POST requests, in bytes |
346
346
|`max_put_data_size`|`int`|`40960`| Sets the maximum number of data size for PUT requests, in bytes |
347
+
|`max_file_descriptors`|`int`|`524288`| Maximum number of file descriptors. Needs to be at least 10x `threads`|
347
348
|`request_buffer_size`|`int`|`4096`| Request buffer size length. If larger than the default of `4096`, it'll be dynamically allocated. |
348
349
|`allow_temp_files`|`str`|`""`| Use temporary files; set to `post` for POST requests, `put` for PUT requests, or `all` (equivalent to setting to `post put`) for both.|
349
350
|`error_template`|`str`| Default error template | Template for error codes. See variables below. |
0 commit comments