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

Vhost and loation proxy_cache_key and proxy_cache_use_stale #636

Merged
merged 1 commit into from
Jun 2, 2015
Merged

Vhost and loation proxy_cache_key and proxy_cache_use_stale #636

merged 1 commit into from
Jun 2, 2015

Conversation

jacobmw
Copy link
Contributor

@jacobmw jacobmw commented May 29, 2015

No description provided.

@@ -66,6 +66,7 @@
$proxy_buffers = '32 4k',
$proxy_buffer_size = '8k',
$proxy_cache_inactive = '20m',
$proxy_cache_key = '$scheme$proxy_host$request_uri',
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not seeing where this is referenced from... can it be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

$scheme$proxy_host$request_uri is the actual default value:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_key

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep, but the nginx::config::proxy_cache_key parameter you created here isn't referenced anywhere else.

@3flex
Copy link
Contributor

3flex commented Jun 1, 2015

Apart from my comment, looks good. Can you address that feedback, then squash the submission down to one commit? Then we can get it merged.

If you're not sure how to do this, there's a useful guide here: https://robots.thoughtbot.com/git-interactive-rebase-squash-amend-rewriting-history

@3flex 3flex added the enhancement New feature or request label Jun 1, 2015
…n a location resource

Adding spec tests for proxy_cache_key and proxy_cache_use_stale
@jacobmw
Copy link
Contributor Author

jacobmw commented Jun 1, 2015

I see what you mean about the proxy_cache_key. I've removed it and attempted to squash my submission. Please let me know if there's anything else I need to do.

3flex added a commit that referenced this pull request Jun 2, 2015
Vhost and loation proxy_cache_key and proxy_cache_use_stale
@3flex 3flex merged commit 517dba1 into voxpupuli:master Jun 2, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
Vhost and loation proxy_cache_key and proxy_cache_use_stale
slm0n87 pushed a commit to slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
Vhost and loation proxy_cache_key and proxy_cache_use_stale
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.

2 participants