Syntax problem? #10

Open
simpadmin opened this Issue Jun 16, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@simpadmin

Hi,

I am trying to test nginx-upstream-fair. I setup a test vm with 2 additional vm's that serve up some content, I have it working already with haproxy, just testing various frontends. I setup this:

worker_processes 1;

events {
worker_connections 1024;
}

http {
upstream backend {
server node2.test123.com:5001;
server node3.test123.com:5001;
fair;
}

server {
    listen       80;
    server_name  node1.test123.com;

    location / {
            proxy_pass http://backend;
    }
}

}

for some reason when I try to access node1.test123.com from a browser it tries to do a web search on www.servers.com which I don't understand, is my syntax ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment