Site is doing well except for login phase.
Some users can stay loged in, but some can't login issueing in 524 Gateway and fcgi timeout.
I've seen so many posts, couldn't find a fix.I guess it's mod_fcig who is doing bad.
How to properly solve this ? Files permissions ? .htaccess ? php config files ?
/var/session/ is just extremly huge, like not ok.
Php 7.0 / php-fastcgi with nginx proxy (plesk)