Discourse Data Explorer

for a small amount of data the export to JSON and CSV are both working fine. But for a bigger amount of data, the CSV export is working fine but the JSON export does run on nginx 502 bad gateway (probably due to a timeout after 30 sec where the JSON file creation does take longer than 30 sec).
Is there an easy way to enhance the nginx timeout value?

If I reduce the time frame of the query the csv file is 12.9 MB and the json file is 645 MB. The total csv file is 13.5 MB, so only a little bit bigger, but the json file is not created due to the nginx error.

Or maybe the JSON file creation is running on an error due to some strange data. Does the JSON file creation create a log file?