summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-09-09 13:52:35 +0200
committerVincent Douillet <vincent@vdouillet.fr>2024-09-10 12:01:05 +0200
commit4e921ffa31fdca2425d326efda1c6d9ad190359a (patch)
tree8d0fe130bd26dedb5c0754249734608217bbd6b9 /README.md
parentd7edafe299d44a0bec9d29e2b3a4ca853ffa1a80 (diff)
upload: handle form submission
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 15 insertions, 12 deletions
diff --git a/README.md b/README.md
index a140bc0..26597bf 100644
--- a/README.md
+++ b/README.md
@@ -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
+ }
}