I am converting an ASP.NET API that currently runs on a windows server running IIS 8, to run inside of a docker container using the following IIS image:
I have the API working correctly however, some calls can take over a minute to send a response. The current IIS setup has a connection timeout of 120s so these long calls complete fine. However, When the same call is made against the docker containers the client disconnects after ~60s and NGINX serves an HTTP 499 Error.
I would like to set the connection timeout to match the current IIS setup (120s) but since the IIS is containerized, I am not sure how to make these changes.
How can you configure IIS settings for a docker container?
Source: Docker Questions