Hi Pubudu,

Thanks for information, I will try out ip_hash;

*Senuwan Withana*
Software Engineer - Support Team | WSO2

Email : [email protected]
Mobile: 94773212853
Web: http://www.wso2.com



On Fri, Nov 10, 2017 at 9:52 AM, Pubudu Gunatilaka <[email protected]> wrote:

> Hi Senuwan,
>
> For session persistence, you can use ip_hash instead of sticky sessions
> [1]. Nginx community version does not support sticky sessions.
>
> [1] - https://docs.wso2.com/display/CLUSTER44x/Configuring+NGINX
>
> Thank you!
>
> On Thu, Nov 9, 2017 at 4:38 PM, Senuwan Withana <[email protected]> wrote:
>
>> Hi Abimaran,
>>
>> No, I have not installed it. I just follow the documentation steps.
>>
>> *Senuwan Withana*
>> Software Engineer - Support Team | WSO2
>>
>> Email : [email protected]
>> Mobile: 94773212853
>> Web: http://www.wso2.com
>>
>>
>>
>> On Thu, Nov 9, 2017 at 4:34 PM, Abimaran Kugathasan <[email protected]>
>> wrote:
>>
>>> Hi Senuwan,
>>>
>>> Have you installed sticky module on your Nginx?
>>>
>>> [1]: https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/overview
>>>
>>> On Thu, Nov 9, 2017 at 2:29 PM, Senuwan Withana <[email protected]>
>>> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I would like to know what is the usage of below parameter, in the NGINX
>>>> configuring file which located on [1] document.
>>>>
>>>>
>>>> sticky cookie JSESSIONID;
>>>>
>>>>
>>>> I got following error message when restarts my NGINX service, but when
>>>> I removed above parameter no issue came.
>>>>
>>>>
>>>> -- Unit nginx.service has begun starting up.
>>>> Nov 09 14:15:11 senuwan-ThinkPad nginx[3869]: nginx: [emerg] unknown
>>>> directive "sticky" in /etc/nginx/conf.d/am.https.conf:2
>>>> Nov 09 14:15:11 senuwan-ThinkPad nginx[3869]: nginx: configuration file
>>>> /etc/nginx/nginx.conf test failed
>>>> Nov 09 14:15:11 senuwan-ThinkPad systemd[1]: nginx.service: Control
>>>> process exited, code=exited status=1
>>>> Nov 09 14:15:11 senuwan-ThinkPad systemd[1]: Failed to start A high
>>>> performance web server and a reverse proxy server.
>>>>
>>>>
>>>> [1] https://docs.wso2.com/display/CLUSTER44x/Clustering+the+
>>>> Gateway#ClusteringtheGateway-Configuringtheloadbalancer
>>>>
>>>> Regards,
>>>>
>>>> *Senuwan Withana*
>>>> Software Engineer - Support Team | WSO2
>>>>
>>>> Email : [email protected]
>>>> Mobile: 94773212853
>>>> Web: http://www.wso2.com
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>> Senior Software Engineer - API Technologies
>>>
>>> Email : [email protected]
>>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>>
>>> <http://stackoverflow.com/users/515034>
>>> <http://lk.linkedin.com/in/abimaran>
>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>> <https://twitter.com/abimaran>
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to