Mercurial > hg > nginx-tests
comparison stream_limit_conn.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 | 196d33c2bb45 |
children |
comparison
equal
deleted
inserted
replaced
1608:2f00ed2e0d1a | 1609:f3ba4c74de31 |
---|---|
31 | 31 |
32 events { | 32 events { |
33 } | 33 } |
34 | 34 |
35 stream { | 35 stream { |
36 %%TEST_GLOBALS_STREAM%% | |
37 | |
36 limit_conn_zone $binary_remote_addr zone=zone:1m; | 38 limit_conn_zone $binary_remote_addr zone=zone:1m; |
37 limit_conn_zone $binary_remote_addr zone=zone2:1m; | 39 limit_conn_zone $binary_remote_addr zone=zone2:1m; |
38 | 40 |
39 server { | 41 server { |
40 listen 127.0.0.1:8080; | 42 listen 127.0.0.1:8080; |