Welcome! Log In Create A New Profile

Advanced

X-Accel-Redirect and Content-Type

November 04, 2010 04:37PM
Currently the application that is passing the X-Accel-Redirect uri back to nginx must set the Content-type header otherwise it will automatically be set to the default_type setting. Is there a way to get nginx to automatically detect the mime settings and transmit it? I've tried: fastcgi_ignore_headers Content-Type, but that gave me the error (taken from http://serverfault.com/questions/195060/nginx-x-accel-redirect-and-mime-types):

[warn] 3988#1288: invalid value "Content-Type"

Note: I'm using the latest windows build to test on.
Subject Author Posted

X-Accel-Redirect and Content-Type

soulodd November 04, 2010 04:37PM

Re: X-Accel-Redirect and Content-Type

Maxim Dounin November 04, 2010 07:24PM

Re: X-Accel-Redirect and Content-Type

soulodd November 05, 2010 11:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready