While caching files on disk, NGINX-proxy adds certain metadata at the the beginning of the file.

Can such files be served by NGINX (acting a server)? Is there a method to skip the metadata part and just serve the content from such a cached file.?


Well you can use proxy_store ( http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_store / there is also a configuration snippet ) with that nginx will save all the upstream files as-is without any additional metadata.

The drawback is you have to manage the "cache" yourself (expiration / purging) as nginx won't do anything with the stored files.

rr
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to