Skip to content

Commit

Permalink
Removed proxy_cache_valid as default when using proxy_cache option
Browse files Browse the repository at this point in the history
  • Loading branch information
pablokbs committed Sep 3, 2014
1 parent 8a7aeb8 commit f74d168
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/vhost/locations/proxy.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<% if @proxy_cache -%>
proxy_cache <%= @proxy_cache %>;
<% end -%>
<% if @proxy_cache_valid -%>
proxy_cache_valid <%= @proxy_cache_valid %>;
<% end -%>
proxy_pass <%= @proxy %>;
Expand Down

0 comments on commit f74d168

Please sign in to comment.