diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 15 insertions, 12 deletions
@@ -32,16 +32,19 @@ By default on OpenBSD, the `slowcgi(8)` daemon allows a timeout of 2 minutes for ## Sample httpd.conf server "server" { - listen on * port 80 - connection timeout 540 - location "/vault/*" { - root "/cgi-bin/vault" - fastcgi param VAULT_DATA_DIR "/vault-data" - request strip 1 - } - location "/static/*" { - root "/vault-static" - request strip 1 - gzip-static - } + listen on * port 80 + connection { + # allow up to 512M uploads + max request body 536870912 + } + location "/vault/*" { + root "/cgi-bin/vault" + fastcgi param VAULT_DATA_DIR "/vault-data" + request strip 1 + } + location "/static/*" { + root "/vault-static" + request strip 1 + gzip-static + } } |