optimizely/isomorphic-react-demo-app

nginx reverse proxy scenario

agustinhaller opened this issue · 0 comments

Hi, how should I proceed if I have an nginx reverse proxy before my react server side renderer?

I was considering setting the cookie that indicates the variant in the nginx cache key, but there's still the problem of the first interaction (when the user haven't been allocated to a specific variant).
In this case I don't know if nginx is able to get the sorting variation as the server would do in the sequence diagram you use for this example.