I have alpine-node 14 in AWS and for some reason when I try to save a cookie with this (works just fine in Node 14 locally):
res.cookie('myCookie', someValue, options);
Returns a 502 Bad Gateway Error (NGinx), the interesting part is that does not generates any error on the logs.
If I remove that line and I save the cookie in the client, everything works just fine.
Any ideas?
Is there a different way to set cookies with alpine-node 14?
I have alpine-node 14 in AWS and for some reason when I try to save a cookie with this (works just fine in Node 14 locally):
Returns a 502 Bad Gateway Error (NGinx), the interesting part is that does not generates any error on the logs. If I remove that line and I save the cookie in the client, everything works just fine.
Any ideas?
Is there a different way to set cookies with alpine-node 14?