add comment to nginx config about client_max_body_size

This commit is contained in:
Joshua Taillon 2022-11-04 09:46:26 -06:00
parent 69604be593
commit efcecb887a

View File

@ -733,6 +733,14 @@ Examples (to update depending on your application configuration and given distri
ssl_certificate fullchain.pem; ssl_certificate fullchain.pem;
ssl_certificate_key privkey.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 / { location / {
proxy_pass http://127.0.0.1:5000; proxy_pass http://127.0.0.1:5000;
proxy_redirect default; proxy_redirect default;