How nginx's "location if" works (Was Re: Setting cache parameter via if directives)

agentzh agentzh at gmail.com
Fri Feb 18 14:55:45 MSK 2011


On Fri, Feb 18, 2011 at 7:54 PM, agentzh <agentzh at gmail.com> wrote:
>
>    local data = get_data_from_remote()
>    local html = generate_html_from_template("/path/to/my/template")

Sorry, the last line should have been

   local html = generate_html_from_template(data, "/path/to/my/template")

Cheers,
-agentzh



More information about the nginx mailing list