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

Update vhost proxy_set_header defaults to match location #700

Merged
merged 1 commit into from
Nov 2, 2015
Merged

Update vhost proxy_set_header defaults to match location #700

merged 1 commit into from
Nov 2, 2015

Conversation

alext
Copy link
Contributor

@alext alext commented Oct 19, 2015

nginx::resource::location defaults this value to
$::nginx::config::proxy_set_headers, whereas nginx::resource::vhost
defaults it to []. This means that you get a different set of defaults
if you use an explicit nginx::resource::location resource as opposed to
setting it up via an nginx::resource::vhost with a proxy attribute.

Updating this default value to be consistent will be less surprising.

`nginx::resource::location` defaults this value to
`$::nginx::config::proxy_set_headers`, whereas `nginx::resource::vhost`
defaults it to `[]`. This means that you get a different set of defaults
if you use an explicit `nginx::resource::location` resource as opposed to
setting it up via an `nginx::resource::vhost` with a proxy attribute.

Updating this default value to be consistent will be less surprising.
@jfryman
Copy link
Contributor

jfryman commented Nov 2, 2015

👍

jfryman added a commit that referenced this pull request Nov 2, 2015
Update vhost proxy_set_header defaults to match location
@jfryman jfryman merged commit cae1e8f into voxpupuli:master Nov 2, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
Update vhost proxy_set_header defaults to match location
slm0n87 pushed a commit to slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
Update vhost proxy_set_header defaults to match location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants