504 Gateway Timeout - on Developer Portal, while importing smartdocs models

While importing smartdocs models in Developer Portal (4.18.05, on private Cloud), we are getting the following page:

504 Gateway Time-out

504 Gateway Time-out


nginx/1.14.0

nginx/1.14.0 is the Webserver of Developer Portal. Looks like the default timeout is 60s. How can we increase it further?