diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-09 13:52:35 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-10 12:01:05 +0200 |
commit | 4e921ffa31fdca2425d326efda1c6d9ad190359a (patch) | |
tree | 8d0fe130bd26dedb5c0754249734608217bbd6b9 /README.md | |
parent | d7edafe299d44a0bec9d29e2b3a4ca853ffa1a80 (diff) |
upload: handle form submission
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 + } } |