cockroachdb / docs

CockroachDB user documentation
https://cockroachlabs.com/docs
Creative Commons Attribution 4.0 International
184 stars 451 forks source link

Update NGINX file server example config #4229

Open timveil opened 5 years ago

timveil commented 5 years ago

Tim Veil (timveil) commented:

https://www.cockroachlabs.com/docs/stable/create-a-file-server.html

we should probably include a proper value for client_max_body_size in our example nginx.conf. the default is 1m. given that backup is likely to create files as large as the range limit 64m our example would mostly likely not be functional in the real world.

suggesting we add the following property... client_max_body_size 128M;

Jira Issue: DOC-224

message commented 2 years ago

Also, create_full_put_path should be on

tobiasmuehl commented 2 years ago

Ran into the same issues and fixed them successfully with the config @message recommended.

tobiasmuehl commented 2 years ago

See also #2845

message commented 2 years ago

@tobiasmuehl by the way I went with this solution. I will save you a couple of hours. You will run into an issue trying to restore a backup from filesystem, if you will go with Nginx only. So spin MinIO S3 bucket in Docker and that's it.