[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-javascript-dev
Subject:    Re: [Dev] Possible to have a different port number to access "/store" with API-2.6 ?
From:       Dushan Silva <dushans () wso2 ! com>
Date:       2019-08-13 8:12:32
Message-ID: CAO-u42zwNf=Qti3Zyj9ud51=iud4dLcK1EwoCX3O4htV8R-XAA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Bernard,
Did you trying using a load balancer to route the external traffic to the
full path of the store? For example you can use you set it up so that if
someone visits *https://yourstore.com <https://yourstore.com>* it will
route to *https:yourip:9443/store.*
I think it can be  simply achieved by using something like nginx.

Thanks.

On Tue, Aug 6, 2019 at 8:05 PM Bernard Paris <bernard.paris@uclouvain.be>
wrote:

> Hi,
>
> using apim-2.6 in an active/active deployment, we want only "/store" to be
> a public service, and on the other side we want paths "/carbon" and
> "/publisher" to be only available from our intranet.
> Our problem is that all these 3 services are based on same 9443 port so we
> cannot use our classic ip firewall.
>
> I have tried to change port number in <ServerURL> and <URL> of <APIStore>
> to 9444 in api-manager.xml,  expecting to get "/store" on port 9444 but
> unfortunately that changed nothing.
>
> So what is the best way to accomplish this ?
>
> Thanks,
> Bernard
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Best Regards
Dushan Silva
Software Engineer

*WSO2, Inc. *

lean . enterprise . middleware
Mob: +94 774 979042

[Attachment #5 (text/html)]

<div dir="ltr">Hi  Bernard,<div>Did you trying using a load balancer to route the \
external traffic to the full path of the store? For example you can use you set it up \
so that if someone visits <b><a \
href="https://yourstore.com">https://yourstore.com</a></b> it will route to \
<b>https:yourip:9443/store.</b></div><div>I think it can be   simply achieved by \
using something like nginx.</div><div><br></div><div>Thanks.</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 6, 2019 at 8:05 PM \
Bernard Paris &lt;<a \
href="mailto:bernard.paris@uclouvain.be">bernard.paris@uclouvain.be</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br> <br>
using apim-2.6 in an active/active deployment, we want only &quot;/store&quot; to be \
a public service, and on the other side we want paths &quot;/carbon&quot; and \
&quot;/publisher&quot; to be only available from our intranet.   <br> Our problem is \
that all these 3 services are based on same 9443 port so we cannot use our classic ip \
firewall.<br> <br>
I have tried to change port number in &lt;ServerURL&gt; and &lt;URL&gt; of \
&lt;APIStore&gt; to 9444 in api-manager.xml,   expecting to get &quot;/store&quot; on \
port 9444 but unfortunately that changed nothing.<br> <br>
So what is the best way to accomplish this ?<br>
<br>
Thanks,<br>
Bernard<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div><span \
style="font-size:small;letter-spacing:normal;font-family:arial">Best \
Regards</span></div><div dir="ltr"><span \
style="font-size:small;letter-spacing:normal;font-family:arial">Dushan \
Silva</span><div style="font-family:sans-serif;font-size:small;letter-spacing:normal"><div \
style="font-family:arial">Software Engineer</div><div style="font-family:arial"><div \
style="font-family:arial,sans-serif;font-size:13px"><p style="margin:0px"><span \
style="font-size:10pt;font-family:Arial,sans-serif"><b>WSO2, Inc.  \
</b></span></p></div><div style="font-family:arial,sans-serif;font-size:13px"><p \
style="margin:0px"><span style="font-size:10pt;font-family:Arial,sans-serif">lean . \
enterprise . middleware  </span></p></div></div><div style="font-family:arial">Mob: \
+94 774 979042<br></div></div></div></div></div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic