nginx configurations for port 9443 is missing in your configurations.

Thanks,
Bhathiya

On Mon, Apr 17, 2017 at 5:37 PM, Ramindu De Silva <ramin...@wso2.com> wrote:

> Hi all,
>
> I have configured a Gateway cluster (1 Node as Manager/ Worker and 1 Node
> as Worker)
>
> When I try to access the management console of the Gateway Manager
> (https://hostname:*9443*/carbon it gets redirected to
> https://hostname/carbon) it says "site cannot be reached".
>
> Please comment if there's any missed/ wrong configuration has been done.
>
> Following are the configurations done for the Gateway Manager/ Worker Node
>
> *in the axis.xml*
>
> <parameter name="properties">
>             <property name="backendServerURL" value="https://
> ${hostName}:${httpsPort}/services/"/>
>             <property name="mgtConsoleURL" value="https://${hostName}:${h
> ttpsPort}/"/>
>             <property name="subDomain" value="*mgt*"/>
>             <property name="port.mapping.80" value="9763"/>
>             <property name="port.mapping.443" value="9443"/>
>         </parameter>
>
> *In catelina.xml*
>
> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
>                    port="9763"
>                    proxyPort="80"
>
> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
>                    port="9443"
>                    proxyPort="443"
>
> *nginx configuration*
>
> upstream ssl.wso2.am.com {
>     sticky cookie JSESSIONID;
>     server ip_address:8243;
>     server ip_address:8243;
> }
>
> server {
> listen 443;
>     server_name nginx_hostname;
>     ssl on;
>     ssl_certificate /home/apifest/keys/server.crt;
>     ssl_certificate_key /home/apifest/keys/server.key;
>
>     location / {
>                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 Host $http_host;
>                proxy_read_timeout 5m;
>                proxy_send_timeout 5m;
>         proxy_pass https://ssl.wso2.am.com;
>         }
> }
>
>
>
> Best Regards,
> --
> *Ramindu De Silva*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> email: ramin...@wso2.com <sanj...@wso2.com>
> mob: +94 772339350
> mob: +94 719678895
>



-- 
*Bhathiya Jayasekara*
*Associate Technical Lead,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185 <071%20547%208185>*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to