I solved the problem. It has nothing to do with nginx.conf settings or freeBSD. My php script was setting the limit after a calculation and the result of the calculation was a float. nginx is not able to process anything except an int for the X-Accel-Limit-Rate and so it was probably taking the value as zero which means unlimited. A simple $speedlimit = intval($speedlimit) solved the problemby SG - How to...
Is X-Accel-Limit-Rate supposed to work with "aio sendfile" on FreeBSD 9.0? It is not working for me. It used to work earlier, but I noticed today that it no longer works. The only significant change I can remember making is in the http part of nginx.conf to turn on aio sendfile and give it a large read_ahead. Relevant part of the nginx.conf file: http { default_type applicby SG - How to...
![]() |
![]() |
![]() |
![]() |
|