Re: upstream prematurely closed connection while reading response header from upstream

2014-12-05 Thread bcx
Hi Jiri, I'm experiencing similar difficulties. What does your upstream server configuration look like? What did you do to fix your problem? In my tcpdumps I'm not seeing the 0 byte chunk that should be at the end of a request. My upstreams are running Apache2 2.2.22 (debian) and PHP 5.5.13. Gree

Re: Ignored Cache-Control request header

2014-03-13 Thread bcx
Thank you for your suggestion. I understand about the DoS issue. proxy_cache_bypass indeed is the solution. Documentation was not clear about it, but the result is written to cache. The cache is only bypassed in the lookup fase, not in the write back fase. I worked out this bit of configuration. T

Ignored Cache-Control request header

2014-03-13 Thread bcx
I noticed that the nginx http proxy module by default does nothing with the Cache-Control request header that is sent by browsers. Most browsers (I tested Crome and Firefox, but from my online research it showed that even Internet Explorer has the same behaviour) send a Cache-Control: no-cache hea