Hi, Maxim
thanks for you replies.
i have already checked out the problem.
Yes ,the nginx will re-resolve the domains unless reload the configuration.
this is my problem.
because i am using Dynamic IP address.
thank you.
Daniel
Posted at Nginx Forum:
i have resolver define, see below configuration:
server {
listen 80;
server_name xx.com;
access_log /var/log/nginx/xx-nginx.access.log;
error_log /var/log/nginx/xx-nginx_error.log debug;
# resolver 8.8.8.8;
# resolver_timeout 1s;
#set your default location
location / {
# resolver
Hi!
how to disable nginx internal dns cache?
Use an IP address instead of a hostname in the proxy_pass variable.
both of them doesnt work.
Can you elaborate what it doesn't work mean?
Lukas
___
nginx
On Sat, May 04, 2013 at 08:42:52AM -0400, nevernet wrote:
Hi there,
my network structure is:
proxy server 1(nginx)--proxy server2(nginx)--web server
proxy server2 has dynamic ip address. the ip address will be changed
untime. so i use one domain for it: p2.domain.com.
Untested, but