X-Accel-Redirect and Content-Type
gabor at nekomancer.net
Fri Dec 14 11:48:37 MSK 2007
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
More information about the nginx