Error when assembling chunks, status code 504

Hello,

sorry for popping up this issue again, but where do I raise the timeout on nginx?
and what is the setting for it?
Rgds

Haydar