-
-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable subdirectory hierarchy for client_body and proxy temp paths #1531
Conversation
42cb2e6
to
52fe1a0
Compare
Neat! Looks good to me, but I'll defer to folks with more experience on this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some trivial nits, but overall I think this looks valid. I'm not that familiar with the config option so say if this is useful or usable.
Thank you @ekohl , updated! |
I'd love to see this squashed down to one commit. |
Allow specification of up to three-level subdirectory hierarchy for both [client_body_temp_path](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_temp_path) and [proxy_temp_path](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_temp_path) options This allows for the existing string option to specify just the path as it works now, and for an alternate type as an array with the first element as the path, and the up to 3 additional integers for each level - Updated docs - Updated tests Rubocop fix Apply suggestions from code review Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> Rubocop suggested fix
659642c
to
492f1a5
Compare
Pull Request (PR) description
Allow specification of up to three-level subdirectory hierarchy for both client_body_temp_path and proxy_temp_path options
This allows for the existing string option to specify just the path as it works now, and for an alternate type as an array with the first element as the path, and the up to 3 additional integers for each level