I'm developing a web application in which the forms send ajax call to the server to save the data.
When running it locally or talking directly to the server the whole request take less than a second but as soon as it has to go through an apache2 reverse proxy the request takes 1.1 minute to complete.
The data is saved quickly on the database but the response is stalled for exactly 1.1 minute every time. In Chrome the delay is listed under "Content Download" even though the response simply consists of a string to make sure the request was successful.
I'm running out of ideas to try and fix this and I couldn't find anyone with a similar problem.
I have access to the reverse proxy to modify the configuration if needed.