Welcome! Log In Create A New Profile

Advanced

Re: Logging a variable set by nginx's Lua module

July 16, 2013 12:22PM
Thanks for the reply.

My first thought was to put a "set foo '-'" in the config, but when I use this pared-down example that emulates the documentation except to replace "content_by_lua" with "rewrite_by_lua":

https://gist.github.com/danslimmon/1ba367780f0efdd2afc5

I get "-" in the logs instead of "bar". Is it the "content"/"rewrite" difference?
Subject Author Posted

Logging a variable set by nginx's Lua module

danslimmon July 16, 2013 11:26AM

Re: Logging a variable set by nginx's Lua module

Marcin Deranek July 16, 2013 12:04PM

Re: Logging a variable set by nginx's Lua module

danslimmon July 16, 2013 12:22PM

Re: Logging a variable set by nginx's Lua module

Marcin Deranek July 16, 2013 12:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 300
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready