Hi,
I have hit this problem (with duplicate html) before few months.
As I remember nginx by default is including this mime type «text/html», so you just need to removed it and not declare it explicitly.
regards
ntk