If you are using nginx-proxy for the USxS reverse proxy, you may encounter
504 timeout errors in the browser for some long running operations. For example, when a user executes a large report, the response may not start within the default proxy timeouts. Follow the instructions below to increase the timeouts.
These instructions assume you are using nginx-proxy as described in Using nginx-proxy. The proxy starting proxy configuration should look something like this:
Mount an additional volume in the container at
/etc/nginx/conf.dby adding the following line to the
during startup, nginx will read all config files from this directory.
Place create a file named
This sets a 300 second (5 minute) timeout for most timeouts and 90 minutes for read-timeout. The read-timeout may seem excessive. However, when generating large or long-running reports the USxS applications can hold the browser connection for a considerable length of time.
client_max_body_sizeeffects file uploads to the application server. If users are having trouble uploading files to the application, increase this setting. If districts are uploading the Classic MonthlyCD, this may need to be adjust to at least 5000m. Remember to restart the proxy for this setting to take effect.
Rebuild and restart the proxy with:
The files in
./conf.d are global to the entire web server and affect all backend servers.