We have two Tomcat instances running on two different server . Both the tomcats are with https (SSL implemented at Tomact level)
Bamboo1 instance : https://bamboo.com
Bamboo 2 isnatnce : https://techiid-bamboo.com
We have to achieve/rename to same base url for both the bamboo instance but different context path
So bamboo 1 should be directly accessed by https://bamboo.com/bamboo1 and bamboo 2 would be https://bamboo.com/bamboo2.
Old DNS names https://techiid-bamboo.com and https://bamboo.com will be deleted.
I set up a below test instance for nginx running
Below is the content for default.conf
listen 80;
server_name nginx_server.com;
#root /etc/tomcat7/webapps/apple;
location /bamboo1 {
proxy_pass https://server1:443/;
include /etc/nginx/proxy.conf;
below is the content of /etc/nginx/proxy.conf
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
When i am giving in url http://nginx_server.com/bamboo1 , its not returning anything and returning SSL error and the url changed to below
https://nginx_server.com:80/allPlans.action;jsessionid=54F4D80938906512BF1108D9368B8397 ( Though nginx server does not have SSL running , as SSL implmented in the target tomcat instances)
Error :
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Please help me out.
Regards
Deb