summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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
+ }
}