From efcecb887aa5fdcb58b1b32ebde7dbc59140ec9a Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Fri, 4 Nov 2022 09:46:26 -0600 Subject: [PATCH] add comment to nginx config about client_max_body_size --- docsrc/source/installation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docsrc/source/installation.rst b/docsrc/source/installation.rst index 93dd4c9a..494c7c9b 100644 --- a/docsrc/source/installation.rst +++ b/docsrc/source/installation.rst @@ -733,6 +733,14 @@ Examples (to update depending on your application configuration and given distri ssl_certificate fullchain.pem; ssl_certificate_key privkey.pem; + ## this parameter controls how large of a file can be + ## uploaded, and defaults to 1MB. If you change the FitTrackee + ## settings to allow larger uploads, you'll need to change this + ## setting by uncommenting the line below and setting the size limit + ## you want. Set to "0" to prevent nginx from checking the + ## request body size at all + # client_max_body_size 1m; + location / { proxy_pass http://127.0.0.1:5000; proxy_redirect default;