content-type does not match mime type

2016-10-20 Thread shang yu
Hi dear all, When I GET a xlsx file from nginx server , the response header Content-Type is application/octet-stream , not the expected application/vnd.openxmlformats-officedocument.spreadsheetml.sheet , why ? many thanks !!! ___ nginx mailing list ng

nginx multiprocess on Windows

2016-09-29 Thread shang yu
Hi dear all, I'm running nginx 1.10.1 on Windows , which is configured with 2 sub processes . I'm using ab to test the work load , found only one process is busy (cpu usage is high) but the other process is idle (cpu usage is zero). Why ? is it some kind of limit for nginx on Windows ? Many tha

nginx can't spawn sub process

2016-09-28 Thread shang yu
Hi dear all, I compiled nginx 1.8.1 from source on Windows XP . when I run it , it can spawn sub process but the sub process crashed immediately . BTW , because I did not install cygwin on my system . I create the needed files ngx_auto_headers.h ngx_auto_config.h and ngx_modules.c ngx_auto_hea