Welcome! Log In Create A New Profile

Advanced

13: Permission denied while connect server using https through nginx

February 03, 2015 01:31AM
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;

location / {
proxy_pass https://10.1.1.1:9443/carbon;

}
}


Server is running and I can access the UI directly from my computer. But when I access it through nginx it goves me 502 bad gateway on browser and following error in nginx error log


2015/02/03 13:15:43 [crit] 5721#0: *7 connect() to 10.1.1.1:9443 failed (13: Permission denied) while connecting to upstream, client: 10.174.14.28, server: mgt.wso2bps.malintha.com, request: "GET / HTTP/1.1", upstream: "https://10.1.1.1:9443/carbon", host: "mgt.wso2bps.malintha.com"

I tried run server/stop server but both incidents gives same error in nginx side. What may be the reason for this error?
Subject Author Posted

13: Permission denied while connect server using https through nginx

malintha February 03, 2015 01:31AM

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

Igor Sysoev February 03, 2015 01:52AM

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

malintha February 03, 2015 03:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready