Mercurial > hg > nginx-tests
comparison memcached.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 | 1b3c22a87e5d |
children | b494fe5b12d1 |
comparison
equal
deleted
inserted
replaced
44:daa295331acd | 45:d68b85def521 |
---|---|
40 client_body_temp_path %%TESTDIR%%/client_body_temp; | 40 client_body_temp_path %%TESTDIR%%/client_body_temp; |
41 fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; | 41 fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; |
42 proxy_temp_path %%TESTDIR%%/proxy_temp; | 42 proxy_temp_path %%TESTDIR%%/proxy_temp; |
43 | 43 |
44 server { | 44 server { |
45 listen localhost:8080; | 45 listen 127.0.0.1:8080; |
46 server_name localhost; | 46 server_name localhost; |
47 | 47 |
48 location / { | 48 location / { |
49 set $memcached_key $uri; | 49 set $memcached_key $uri; |
50 memcached_pass 127.0.0.1:8081; | 50 memcached_pass 127.0.0.1:8081; |