Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Reinis Rozitis
Is this a feature I can get without having to purchase nginx plus? Yes, it's also mentioned in the article ".. or the latest NGINX Open Source compiled .." Afaik there are no extra nginx+ features in the proxy module, the upstream has dynamic backend and healthchecks in the commercial subsc

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Reinis Rozitis said: Also for secure backend connection you should enable proxy_ssl. Reading https://www.nginx.com/resources/admin-guide/nginx-tcp-ssl-upstreams/ should probably be a good start. = Is this a feature I can get without having to purchase nginx p

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Ok. I was able to get it working by changing this: proxy_pass http://ssl_myapplicationsite.net ; to this: proxy_pass *https*://ssl_myapplicationsite.net ; On Wed, Jul 27, 2016 at 12:07 PM, Brian Pugh wrote: > Stil

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Still not working. Logs show: 2016/07/27 11:59:35 [warn] 28038#28038: *3 upstream server temporarily disabled while reading response header from upstream, client: 192.168.254.202, server: myapplicationsite.net, request: "GET / HTTP/1.1", upstream: *"http://192.168.155.120:443/

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Reinis Rozitis
: "myapplicationsite.net" 2016/07/27 10:54:05 [warn] 27491#27491: *3 upstream server temporarily disabled while connecting to upstream, client: 192.168.254.202, server: myapplicationsite.net, request: "GET / HTTP/1.1", upstream: "http://192.168.155.120:80/";, host: "myapplicationsite.net" Why

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread crasyangel
u.default_port = 80; in ngx_http_upstream_server add a new upstream upstream ssl_myappliationsite.net { ip_hash; server backendappsite1.net:443; server backendappsite2.net:443; server backendappsite3.net:443; } server { listen 443 ssl; server_name myapplicationsite.net; keepalive_timeout 70; s

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Ok. This looks like progress. However it still fails. Here is my config as it stands now. in nginx.conf: http { upstream myappliationsite.net { ip_hash; server backendappsite1.net; server backendappsite2.net; server backendappsite3.net; } In default.conf: serve

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Reinis Rozitis
Can anyone give me an example config of what it would look like in both nginx.conf and default.conf using the names/info I have provided? It seems you have taken the default configuration example but if you use nginx as a balancer without serving any .php (or other) files you actually don't ne

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
What request do you make of nginx? Requests come into nginx as https://myapplicationsite.net"; On the actual backend server, that request is then redirected to: https://myapplicationsite.net//app/service/login?url=%2Fl That brings up the login page on the backend server. Which of your defined

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Francis Daly
On Wed, Jul 27, 2016 at 07:33:31AM -0500, Brian Pugh wrote: Hi there, > I am using nginx as a load balancer. However when I type in the URL for my > site, which resolves to the IP of the load balancer, I get the default > nginx page saying "nginx has been setup more configuration is required". I

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread crasyangel
don't get it. proxy_set_header host? upstream name only for lookup upstream, it has no business with any proxy headers Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268548,268552#msg-268552 ___ nginx mailing list nginx@nginx.org http://ma

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
nginx-1.10.1-1.el6.ngx.x86_64 on RHEL 6. What do you mean by rename the upstream? I thought if my backend applications are listening for requests on https://myapplicationsite.net then thats what the upstream server needs to be defined as in nginx? If I do rename and my backend server listen on http

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread crasyangel
test ok with nginx 1.8.0,which nginx version you use? nginx must be confused by same domain name and upstream name, rename the upstream name! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268548,268550#msg-268550 ___ nginx mailing list ngin

nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
I am posting this again because a copy never appeared in my inbox. Please ignore if it was actually delivered to the group already. I am using nginx as a load balancer. However when I type in the URL for my site, which resolves to the IP of the load balancer, I get the default nginx page saying "n

nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
I am using nginx as a load balancer. However when I type in the URL for my site, which resolves to the IP of the load balancer, I get the default nginx page saying "nginx has been setup more configuration is required". I would expect nginx to forward my request through to the backend servers I have