X-Accel-Redirect and Content-Type
Gábor Farkas
gabor at nekomancer.net
Fri Dec 14 11:48:37 MSK 2007
hi,
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
authentication,
and the second location is marked as "internal", and from there are the
files served.
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
content-type?
thanks,
gabor
More information about the nginx
mailing list