Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx timeouts #25

Open
FlominatorTM opened this issue Jul 6, 2019 · 1 comment
Open

nginx timeouts #25

FlominatorTM opened this issue Jul 6, 2019 · 1 comment

Comments

@FlominatorTM
Copy link
Owner

FlominatorTM commented Jul 6, 2019

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant