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

Add all gzip params for http context #367

Closed
wants to merge 7 commits into from

Conversation

coredevel
Copy link

Added all the available gzip params for the nginx.conf template and blank defaults which won't get picked up if not set therefore not written to .conf and nginx will use internal defaults. gzip_types param can be either a string or array.

Richard Delph added 2 commits June 27, 2014 13:37
@rabbitt
Copy link
Contributor

rabbitt commented Jun 27, 2014

don't forget to update the relevant tests for each class (under spec/classes)

@coredevel
Copy link
Author

@rabbitt all done. There could be improvements in the passing of parameters to ensure strings/ints/arrays but the current modifications, albeit very infant, achieve the main goal of being able to add gzip settings to nginx.conf

@jbussdieker
Copy link
Contributor

👍

{
:title => 'should set gzip_disable',
:attr => 'gzip_disable',
:value => 'MSIE [1-6]\.(?!.*SV1)',
Copy link
Contributor

Choose a reason for hiding this comment

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

You should test with a value different from the default to make sure it's being passed through correctly.

@3flex
Copy link
Contributor

3flex commented Aug 22, 2014

Looks awesome! If we can update the tests as mentioned that would be great. Parameter validation would also be a nice to have but it's not essential.

Finally would you mind rebasing to tidy up the commits a bit? Squashing to a single commit would be fine.

@isntall
Copy link

isntall commented Nov 30, 2014

++

1 similar comment
@SOLDIERz
Copy link

SOLDIERz commented Jan 9, 2015

++

@3flex 3flex added the enhancement New feature or request label Apr 16, 2015
@jg-development
Copy link
Contributor

+1 ... will this be merged?

@3flex
Copy link
Contributor

3flex commented Jun 10, 2015

Not as is... there are merge conflicts and a few updates to be made. If someone wants to create an updated PR we can look at merging that instead, if @Richdel doesn't want to update this.

@3flex 3flex closed this in #659 Jul 12, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
Slm0n87 pushed a commit to Slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
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.

7 participants