Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax problem? #10

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

Syntax problem? #10

simpadmin opened this issue Jun 16, 2012 · 0 comments

Comments

@simpadmin
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant