Lines of
counter.body.conf
from check-in 38ec946cba
that are changed by the sequence of edits moving toward
check-in b33171b487:
1: location = /postgres {
2: internal;
3: postgres_query $echo_request_body;
4: postgres_pass counter;
5: }
6:
38ec946cba 2014-07-03 7: location = /sleep {
38ec946cba 2014-07-03 8: internal;
38ec946cba 2014-07-03 9: echo_sleep 1;
38ec946cba 2014-07-03 10: }
38ec946cba 2014-07-03 11:
12: location = /counter {
13: default_type application/json;
14: userid on;
15: userid_name uid;
16: userid_expires 365d;
17: userid_p3p 'policyref="/w3c/p3p.xml", CP="NOI CUR ADM PSA OUR STP STA"';
18:
38ec946cba 2014-07-03 19: content_by_lua_file '/path/to/counter.lua';
20: expires epoch;
38ec946cba 2014-07-03 21: keepalive_timeout 0;
22: }