I set up my reverse proxy to cache files stored at AWS S3. I want to
minimize the amount of traffic generated at AWS.
Many of the files are mp4s. Clients make GET requests with the range
video player may get multiple chunks of a file at once.
How can I have the proxy server NOT send the client’s Range header along
AWS S3? I want the cached version to be used. The file should only be
revalidated after the set period of 30 days.
So it seems like I would need something along proxy_set_header but
that unsets the header sent to the proxied server.
E.g. proxy_set_header Range NULL
The proxy_ignore_headers option won’t take Range.
I appreciate any help.
Posted at Nginx Forum: