Invalid content types served when using alias

Igor Sysoev igor at
Wed Oct 24 14:06:29 UTC 2012

On Oct 24, 2012, at 15:52 , Tom van der Woerdt wrote:

> Yes, that's the URL I am using. Using default_type is possible but it still feels like a bug, especially since the actual file it's serving does end with .js. I know it's possible with a rewrite but that also feels like a hack instead of a real solution, especially since the file I'm serving is outside the website's root folder.

This is not a bug but intentional behavior.
default_type should be used here.

Igor Sysoev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list