Maxim Dounin Wrote: ------------------------------------------------------- > Hello! > > On Mon, Apr 06, 2009 at 03:39:13AM -0400, > elliottcable wrote: > > > Okay, I talked to the nice people in the #NginX > IRC room a bit (thanks "merlincorey" and "Damn"!). > From a more careful reading of the NginX wiki's > documentation, it appearsby elliottcable - Nginx Mailing List - English
Okay, I talked to the nice people in the #NginX IRC room a bit (thanks "merlincorey" and "Damn"!). From a more careful reading of the NginX wiki's documentation, it appears that this should be legal: http://github.com/elliottcable/server-configuration/blob/ad48f0b73ea8e2d33fc97bba60ddad2a4abca064/nginx/includes.conf#L7-12 Here's the reasoning. The wiki declares that the `by elliottcable - Nginx Mailing List - English
I'm trying to configure my server to serve XHTML files to MSIE browsers as text/html. Here's the three things I've tried; all of them yell at me about a syntax error, so I can't launch my server: location ~* \.(xhtml|xhtm) { if ($http_user_agent ~* MSIE) { types { } default_type text/html } } if ($http_user_agent ~* MSIE) { location ~* \.(xhtml|xhtm) { typesby elliottcable - Nginx Mailing List - English