1

I am new to docker and dockerizing an existing application. The problem that I faced is that as I have multiple containers for the same application, the session variables will not be consistent across containers. So, on searching on the internet, I found one way to solve this problem is to implement reverse proxy to maintain persistent session.

One such article is: https://boxboat.com/2017/08/03/deploy-web-app-docker-swarm-sticky-sessions/

Can someone explain how the use of reverse proxy helps to maintain persistent session variable across containers?

Swastik Roy
  • 198
  • 1
  • 13
  • 1
    I dont think it is duplicate. On linked answer, there is no mention of reverse proxy. This question is about how reverse proxy solves sticky session problem. – Pratik Aug 28 '19 at 12:18
  • 1
    Agree - the suggested answer does not really answer the question here. – cstrzelc Oct 13 '20 at 14:45

0 Answers0