i have set up an X-Accel-Redirect based solution.
the usual thing.
there are 2 locations,
one is proxied to an other webserver, which basically does the
and the second location is marked as “internal”, and from there are the
the problem is with content-types.
the authentication-web-app sends back a wrong content-type, and nginx
uses that when serving the file.
is there a way to tell nginx to ignore the content-type that he got from
the authentication-app, and use his own mime-tables to determine the