Igor Sysoev wrote:
On Fri, Jun 08, 2007 at 08:14:36AM +0000, Evan Miller wrote:
I find that files included in an SSI are truncated when:
* the inclusion is retrieved from an upstream subrequest
* the response to the subrequest is buffered to a file
* the response to the subrequest is over about 100KB
I am using nginx 0.5.24. It works fine when I set "proxy_max_temp_file_size 0;".
I can post a debug log if no one can reproduce the problem.
Please, send me debug log.
Here's the debug log:
http://www.riceonfire.org/emiller/error.log
This seems to happen most often (only?) after a SIGHUP.
evanm@tim:~ nginx -V
nginx version: nginx/0.5.24
built by gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure arguments: --with-debug
Here's what I did:
evanm@tim:~ sudo rm /usr/local/nginx/logs/error.log
evanm@tim:~ sudo pkill -HUP nginx
evanm@tim:~ wget http://localhost/static/test.html
Here's the contents of test.html:
<!--# include virtual="/guide2.html" -->
The upstream is an Apache serving a static file.
Thanks!
Evan