Welcome! Log In Create A New Profile

Advanced

Nginx and Websphere

May 26, 2015 06:36AM
Hi all!

I'm new in NGINX but I have try everything with very bad results. My scenario is:

NGINX balancing over 2 servers using ip_hash. This servers runs Websphere and in every Websphere runs several apps.

Servers separately runs:

wasint-1.domain.com:9080/WebApp
wasint-2 domain.com:9080/WebApp

My configuration:

upstream webint {
ip_hash;
server wasint-1.domain.com:9080;
server wasint-2.domain.com:9080;
}

server {

listen 80;
server_name web.domain.com;


location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://webint/WebApp;
}

}

All seems to be ok, but when I type in the web browser http://web.domain.com doesn´t work.
Subject Author Posted

Nginx and Websphere

sampy May 26, 2015 06:36AM

Re: Nginx and Websphere

Francis Daly May 26, 2015 07:40PM

Re: Nginx and Websphere

sampy May 27, 2015 07:27AM

Re: Nginx and Websphere

Francis Daly May 27, 2015 09:34AM

Re: Nginx and Websphere

sampy May 28, 2015 02:35AM

Re: Nginx and Websphere

Francis Daly May 28, 2015 03:50AM

Re: Nginx and Websphere

sampy May 28, 2015 04:15AM

Re: Nginx and Websphere

Francis Daly May 28, 2015 07:34AM

Re: Nginx and Websphere

sampy May 28, 2015 11:50AM

Re: Nginx and Websphere

Francis Daly May 28, 2015 02:02PM

Re: Nginx and Websphere

sampy May 29, 2015 02:01AM

Re: Nginx and Websphere

Francis Daly May 29, 2015 03:34AM

Re: Nginx and Websphere

sampy May 29, 2015 12:51PM

Re: Nginx and Websphere

Francis Daly May 29, 2015 05:46PM

Re: Nginx and Websphere

Ravikiran Siddhanti May 29, 2015 10:44PM

Re: Nginx and Websphere

unclepieman May 28, 2015 02:36PM

Re: Nginx and Websphere

sampy May 29, 2015 12:53PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready