Mercurial > hg > nginx-tests
comparison proxy.t @ 717:3b6ff3b7367d
Tests: fixed multiple header field values representation in h2.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 28 Sep 2015 16:41:02 +0300 |
parents | a8596c7b33cc |
children | cf9183219c59 |
comparison
equal
deleted
inserted
replaced
716:e3fd2c8d257e | 717:3b6ff3b7367d |
---|---|
36 %%TEST_GLOBALS_HTTP%% | 36 %%TEST_GLOBALS_HTTP%% |
37 | 37 |
38 server { | 38 server { |
39 listen 127.0.0.1:8080; | 39 listen 127.0.0.1:8080; |
40 server_name localhost; | 40 server_name localhost; |
41 | 41 add_header X-Port $remote_port; |
42 location / { | 42 location / { |
43 proxy_pass http://127.0.0.1:8081; | 43 proxy_pass http://127.0.0.1:8081; |
44 proxy_read_timeout 1s; | 44 proxy_read_timeout 1s; |
45 } | 45 } |
46 | 46 |