Mercurial > hg > nginx-tests
comparison stream_geoip.t @ 1609:f3ba4c74de31
Tests: added TEST_GLOBALS_STREAM variable support.
author | Andrei Belov <defan@nginx.com> |
---|---|
date | Thu, 12 Nov 2020 17:46:49 +0300 |
parents | 3fc6817cd84a |
children |
comparison
equal
deleted
inserted
replaced
1608:2f00ed2e0d1a | 1609:f3ba4c74de31 |
---|---|
36 | 36 |
37 events { | 37 events { |
38 } | 38 } |
39 | 39 |
40 stream { | 40 stream { |
41 %%TEST_GLOBALS_STREAM%% | |
42 | |
41 set_real_ip_from 127.0.0.1/32; | 43 set_real_ip_from 127.0.0.1/32; |
42 | 44 |
43 geoip_country %%TESTDIR%%/country.dat; | 45 geoip_country %%TESTDIR%%/country.dat; |
44 geoip_city %%TESTDIR%%/city.dat; | 46 geoip_city %%TESTDIR%%/city.dat; |
45 geoip_org %%TESTDIR%%/org.dat; | 47 geoip_org %%TESTDIR%%/org.dat; |