I would like to know how to add file md5 checksum to a nginx HTTP response header. The details is described below:
I have a nginx server to serve some static files, these files are generated daily by other program, the old file will be overwritten when generating the new one.
Sometimes the file content changed, sometimes not. But the modified time always changed.
And I have an android app to download these files everyday, it should download only changed files.
I cannot use etag because it was generated from file length and timestamp, and timestamp always changed.
Thank you.