Re: Nginx add location details to URL when we stop decoding URL

2015-02-13 Thread malintha
hi Maxim , Your answer is right and thank you for it. I applied it with small correction. set $modified_uri $request_uri; if ($modified_uri ~ "^/gateway(/.*)") { set $modified_uri $1; } proxy_pass http://upstream$1; Thank you, Malintha Posted at Nginx Forum: http://forum.nginx.or

Nginx add location details to URL when we stop decoding URL

2015-02-12 Thread malintha
I am accessing a URL which has encode characters http:../malintha/tel%3A%2B6281808147137 location /gateway/ { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header

"unable to find valid certification path to requested target" error in java based server while accessing it through Nginx

2015-02-03 Thread malintha
Hi, I have two java based servers. We call it server A and server B. I can call directly from A to B server. Then I configured call server A to server B though nginx instance. Then I get following error. TID: [0] [AM] [2015-02-03 15:17:05,736] INFO {org.apache.axis2.transport.http.HTTPSender} -

Re: 13: Permission denied while connect server using https through nginx

2015-02-03 Thread malintha
Hi, Yes it was because of selinux. it configured it and now working fine.thanks Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256412,256415#msg-256415 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

13: Permission denied while connect server using https through nginx

2015-02-02 Thread malintha
Hi, My nginx configurations are as follows. I am going to connect running server UI from my machine through nginx. server { listen 443; server_name mgt.wso2bps.malintha.com; ssl on; ssl_certificate /etc/nginx/ssl/wso2bps.crt; ssl_certificate_key /etc/nginx/ssl/wso2bps.key;