Forum: NGINX Re:

Re:
Posted by Igor Sysoev (Guest)
on 2012-09-30 07:20
(Received via mailing list)
On Sep 29, 2012, at 23:40 , Ian M. Evans wrote:

> }
>
> Is it a formatting error?

This map defines $blogid variable.
$blogname must be defined somewhere else.


--
Igor Sysoev
http://nginx.com/support.html
Re:
Posted by Ian M. Evans (Guest)
on 2012-09-30 07:23
(Received via mailing list)
On Sun, September 30, 2012 1:19 am, Igor Sysoev wrote:
>> map $blogname $blogid{
>>    default "";
>>    /example/ 2;
>> }
>>
>> Is it a formatting error?
>
> This map defines $blogid variable.
> $blogname must be defined somewhere else.
>

Never operate an nginx vehicle when you haven't had sufficient coffee. 
:-)
I missed something as I was pasting this into my conf file. Heck, I even
forgot a subject line!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.