Hey,
Thanks it works! Funny that it didnt work before this as I swore I tried it
too. my luck maybe.
On Monday, September 3, 2012 12:14:54 PM UTC+8, Gonzalo wrote:
>
> On Mon, Sep 3, 2012 at 1:31 PM, Choon Ming Goh
>
> > wrote:
>
>> Hi guys,
>>
>> I'm trying to do the following in my template:
On Mon, Sep 3, 2012 at 1:31 PM, Choon Ming Goh wrote:
> 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
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