aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-07-14 23:23:34 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-07-14 23:23:34 +0100
commit4989f4ee89d55ca9158eeebce726db680aa19630 (patch)
tree5ebb5b3a50cfd20ffb939d74f369646eaed3a06b
parent6a318b7833adf2777c7041017c37e6e480b3619e (diff)
downloadgpigeon-4989f4ee89d55ca9158eeebce726db680aa19630.tar.gz
gpigeon-4989f4ee89d55ca9158eeebce726db680aa19630.zip
fix nginx part in README: missing max body size
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1109df8..aeec1c2 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,8 @@ server {
add_header X-Frame-Options DENY;
add_header Access-Control-Allow-Origin https://$server_name;
add_header Vary Origin; # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin#cors_and_caching
+
+ client_max_body_size 100m;
}
```
You can also tune the `WWWDOMAIN` and `NGINXCONFDIR` variable in your `config.mk` to have it generated for you when running `make`.