Associating types to file extensions is done through the types <http://nginx.org/en/docs/http/ngx_http_core_module.html#types> directive. You probably have a default_type <http://nginx.org/en/docs/http/ngx_http_core_module.html#default_type> directive in a global location defining it to application/octet-stream. --- *B. R.*
On Thu, Oct 20, 2016 at 5:06 PM, shang yu <[email protected]> wrote: > Hi dear all, > > When I GET a xlsx file from nginx server , the response header > Content-Type is application/octet-stream , not the expected > application/vnd.openxmlformats-officedocument.spreadsheetml.sheet , why ? > many thanks !!! > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
