Mercurial > hg > nginx-tests
diff smtp.t @ 45:d68b85def521
Tests: use 127.0.0.1 instead of localhost.
Name 'localhost' is ambiguous if ipv6 present on system.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 02 Nov 2008 15:01:41 +0300 |
parents | 7bf0e8a1d66c |
children | 573c8293ac38 |
line wrap: on
line diff
--- a/smtp.t +++ b/smtp.t @@ -39,11 +39,11 @@ events { mail { proxy_pass_error_message on; - auth_http http://localhost:8080/mail/auth; + auth_http http://127.0.0.1:8080/mail/auth; xclient off; server { - listen localhost:8025; + listen 127.0.0.1:8025; protocol smtp; smtp_auth login plain none; } @@ -57,7 +57,7 @@ http { proxy_temp_path %%TESTDIR%%/proxy_temp; server { - listen localhost:8080; + listen 127.0.0.1:8080; server_name localhost; location = /mail/auth {