Skip to content
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

Introduce two new optional proxy parameters #1256

Merged
merged 1 commit into from
Dec 28, 2018

Conversation

ruriky
Copy link
Contributor

@ruriky ruriky commented Oct 2, 2018

Pull Request (PR) description

We want to be able to manage the following (optional) configuration values:

proxy_busy_buffers_size
proxy_max_temp_file_size

With this PR user can modify the above values inside the location-block and also in the main nginx.conf.

This Pull Request (PR) fixes the following issues

Fixes #1176

@@ -217,6 +220,8 @@
Optional[String] $proxy_http_version = undef,
Optional[String] $proxy_set_body = undef,
Optional[Enum['on', 'off']] $proxy_buffering = undef,
Optional[String] $proxy_max_temp_file_size = undef,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please use Optional[String[1]] here please?

Copy link
Member

@mmerfort mmerfort Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a size datatype, which should be used in my opinion.
https://github.com/voxpupuli/puppet-nginx/blob/master/types/size.pp

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Oct 20, 2018
@bastelfreak bastelfreak added the needs-work not ready to merge just yet label Nov 2, 2018
We want to be able to manage the configuration values of:
proxy_busy_buffers_size and proxy_max_temp_file_size
@bastelfreak
Copy link
Member

I added the datatype and will merge it after travis turns green.

@bastelfreak bastelfreak removed the needs-work not ready to merge just yet label Dec 28, 2018
@bastelfreak bastelfreak merged commit a723d91 into voxpupuli:master Dec 28, 2018
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Introduce two new optional proxy parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature_request: Add proxy_max_temp_file_size and proxy_busy_buffers_size to parameter list
4 participants