Nginx Download MP3 206 Partial Content HTTP Response

Francis Daly francis at
Mon Nov 9 21:42:19 UTC 2020

On Mon, Nov 09, 2020 at 04:45:31AM -0500, garycnew at wrote:

Hi there,

> That was it!  The subsequent, asynchronous AJAX call was responding with a
> Javascript redirect that was remedied using Nginx's sub_filter directive.

Great that you found the problem, and found the fix that lets you use
the web site the way you want to.

> The combination of disabling gzip compression, adding sub_filter_types
> text/javascript, and creating sub_filter 'https:' 'http:' rewrote the
> protocol of the Javascript redirect.

Thanks for sharing the resolution.


Francis Daly        francis at

More information about the nginx mailing list