Mercurial > hg > nginx-tests
diff ssi-include-big.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 | fc205d0e052d |
children | 405e8ca11c77 |
line wrap: on
line diff
--- a/ssi-include-big.t +++ b/ssi-include-big.t @@ -45,11 +45,11 @@ http { gzip on; server { - listen localhost:8080; + listen 127.0.0.1:8080; server_name localhost; location /proxy/ { - proxy_pass http://localhost:8080/local/; + proxy_pass http://127.0.0.1:8080/local/; } location = /local/blah { return 204;