ngix bad gateway 502 error
so i deployed my nextJS app using nginx with pm2 , i have an end-point where i set headers for update the authentication cookie , in /var/log/nginx/error.log i can see this :
[error] 36131#36131: *23 upstream prematurely closed connection while reading response header from upstream, client: 15> ,
any configuration to set ?

0 Replies