comparison stream_resolver.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 766bcbb632ee
children
comparison
equal deleted inserted replaced
1608:2f00ed2e0d1a 1609:f3ba4c74de31
32 32
33 events { 33 events {
34 } 34 }
35 35
36 stream { 36 stream {
37 %%TEST_GLOBALS_STREAM%%
38
37 map $server_port $upstream { 39 map $server_port $upstream {
38 %%PORT_8081%% a.example.com:%%PORT_8090%%; 40 %%PORT_8081%% a.example.com:%%PORT_8090%%;
39 %%PORT_8082%% a.example.com; 41 %%PORT_8082%% a.example.com;
40 %%PORT_8083%% nx.example.com:%%PORT_8082%%; 42 %%PORT_8083%% nx.example.com:%%PORT_8082%%;
41 } 43 }