FlominatorTM / wikiblame

http://wikipedia.ramselehof.de/wikiblame.php
GNU General Public License v3.0
54 stars 13 forks source link

nginx timeouts #25

Open FlominatorTM opened 5 years ago

FlominatorTM commented 5 years ago

Since my webhoster relocated my scripts on a new server there are some configuration problems. The biggest is that user receives nginx timeouts if the query is too long or ends in an endless loop (see #20)

nginx

The reason for this new behavior is that as opposed to earlier the page content is not written directly to the browser but seems to be buffered.

FlominatorTM commented 5 years ago

In the process of this migration php was upgraded from 5.x to 7.x which I also performed on my development environment. There it also didn't flush anymore.

After applying some of the tips from https://www.jeffgeerling.com/blog/2016/streaming-php-disabling-output-buffering-php-apache-nginx-and-varnish to the code it works on development environment again, but unfortunately still not in production. I'm still working with the webhoster to figure this out.