CVAT Nuclio detector 504 gateway timeout after 60s

Hi all,
I’ve written a custom nuclio detector which sometimes runs longer than 60 seconds.
It seems that i receive a gateway timeout 504 after 60s.
I’m not an expert in this request stuff, is anybody aware of some settings i could change that might help here? Either in cvat itself or nuclio (i am not sure which one is the culprit in this case).
Thanks!