Artifact
b630972664292721c2ef23bc900570338b151cae3b6f227517b19527908ddc82:
0000: 6c 6f 63 61 74 69 6f 6e 20 3d 20 2f 70 6f 73 74 location = /post
0010: 67 72 65 73 20 7b 0a 09 69 6e 74 65 72 6e 61 6c gres {..internal
0020: 3b 0a 09 70 6f 73 74 67 72 65 73 5f 71 75 65 72 ;..postgres_quer
0030: 79 20 24 65 63 68 6f 5f 72 65 71 75 65 73 74 5f y $echo_request_
0040: 62 6f 64 79 3b 0a 09 70 6f 73 74 67 72 65 73 5f body;..postgres_
0050: 70 61 73 73 20 63 6f 75 6e 74 65 72 3b 0a 7d 0a pass counter;.}.
0060: 0a 6c 6f 63 61 74 69 6f 6e 20 3d 20 2f 73 6c 65 .location = /sle
0070: 65 70 20 7b 0a 09 69 6e 74 65 72 6e 61 6c 3b 0a ep {..internal;.
0080: 09 65 63 68 6f 5f 73 6c 65 65 70 20 31 3b 0a 7d .echo_sleep 1;.}
0090: 0a 0a 6c 6f 63 61 74 69 6f 6e 20 3d 20 2f 63 6f ..location = /co
00a0: 75 6e 74 65 72 20 7b 0a 09 64 65 66 61 75 6c 74 unter {..default
00b0: 5f 74 79 70 65 20 61 70 70 6c 69 63 61 74 69 6f _type applicatio
00c0: 6e 2f 6a 73 6f 6e 3b 0a 09 75 73 65 72 69 64 20 n/json;..userid
00d0: 6f 6e 3b 0a 09 75 73 65 72 69 64 5f 6e 61 6d 65 on;..userid_name
00e0: 20 75 69 64 3b 0a 09 75 73 65 72 69 64 5f 65 78 uid;..userid_ex
00f0: 70 69 72 65 73 20 33 36 35 64 3b 0a 09 75 73 65 pires 365d;..use
0100: 72 69 64 5f 70 33 70 20 27 70 6f 6c 69 63 79 72 rid_p3p 'policyr
0110: 65 66 3d 22 2f 77 33 63 2f 70 33 70 2e 78 6d 6c ef="/w3c/p3p.xml
0120: 22 2c 20 43 50 3d 22 4e 4f 49 20 43 55 52 20 41 ", CP="NOI CUR A
0130: 44 4d 20 50 53 41 20 4f 55 52 20 53 54 50 20 53 DM PSA OUR STP S
0140: 54 41 22 27 3b 0a 0a 09 63 6f 6e 74 65 6e 74 5f TA"';...content_
0150: 62 79 5f 6c 75 61 5f 66 69 6c 65 20 27 2f 70 61 by_lua_file '/pa
0160: 74 68 2f 74 6f 2f 63 6f 75 6e 74 65 72 2e 6c 75 th/to/counter.lu
0170: 61 27 3b 0a 09 65 78 70 69 72 65 73 20 65 70 6f a';..expires epo
0180: 63 68 3b 0a 09 6b 65 65 70 61 6c 69 76 65 5f 74 ch;..keepalive_t
0190: 69 6d 65 6f 75 74 20 30 3b 0a 7d 0a imeout 0;.}.