changeset 1261:5da72eaa893f

Tests: reduced differences to the upcoming proxy_bind test script.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 19 Dec 2017 19:32:37 +0300
parents eadd24ccfda1
children b35037b3a9d0
files proxy_bind_transparent.t
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_bind_transparent.t
+++ b/proxy_bind_transparent.t
@@ -56,14 +56,13 @@ http {
         server_name     localhost;
 
         location / {
-            add_header   X-IP $remote_addr;
+            add_header   X-IP $remote_addr always;
         }
     }
 }
 
 EOF
 
-$t->write_file('index.html', '');
 $t->run()->plan(1);
 
 ###############################################################################