504 Gateway timeout when logging into RoundCube - Murgero?

It’s really strange. Some accounts can login just fine. Others get the timeout.

Nothing useful in syslog, just munin updates.

Login attempt:

/var/log/nginx/access.log

... - - [22/Jan/2018:10:23:54 -0600] “GET /mail/skins/larry/images/ajaxloader.gif?v=c252.1434 HTTP/1.1” 200 1434 “https://192.168.10.3/mail/skins/larry/styles.min.css?s=1510166525” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”

/var/log/nginx/error.log

2018/01/22 10:24:54 [error] 61450#0: 74 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.10.5, server: box..com, request: “POST /mail/?_task=login HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock”, host: “192.168.10.3”, referrer: “https://192.168.10.3/mail/