Displaying 1 result from an estimated 1 matches for "proxy_head".
Did you mean:
proxy_header
2012 Sep 03
2
erb syntaxes
Hi guys,
I''m trying to do the following in my template:
location <%= location %> {
proxy_pass <%= proxy %>;
<% if scope.lookupvar(''nginx::resource::location::proxy_header'') then
scope.lookupvar(''nginx::resource::location::proxy_header'').each do
|header| %>
proxy_set_header <%= header %>
<% end %>
}
But i''m getting this error instead:
err: Could not retrieve catalog from remote server: Error 40...