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 <senu...@wso2.com> wrote:

> Hi Abimaran,
>
> No, I have not installed it. I just follow the documentation steps.
>
> *Senuwan Withana*
> Software Engineer - Support Team | WSO2
>
> Email : senu...@wso2.com
> Mobile: 94773212853
> Web: http://www.wso2.com
>
>
>
> On Thu, Nov 9, 2017 at 4:34 PM, Abimaran Kugathasan <abima...@wso2.com>
> 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 <senu...@wso2.com> 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 : senu...@wso2.com
>>> Mobile: 94773212853
>>> Web: http://www.wso2.com
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> 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
> Dev@wso2.org
> 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to