Permalink
Browse files

Revert "Since neither of the previous commits were valid NginX syntax…

…; going to try including an external conffile."

This reverts commit 65236d6.
  • Loading branch information...
1 parent 65236d6 commit 72f80a760d8b30be44c5cd3fb9432a02d3a02dca @ELLIOTTCABLE committed Apr 6, 2009
Showing with 5 additions and 6 deletions.
  1. +5 −2 nginx/includes.conf
  2. +0 −4 nginx/msie.conf
View
@@ -4,8 +4,11 @@ location /system {
root /srv/sites;
}
-if ($http_user_agent ~* MSIE) {
- include /srv/conf/nginx/msie.conf;
+location ~* \.(xhtml|xhtm) {
+ if ($http_user_agent ~* MSIE) {
+ types { }
+ default_type text/html
+ }
}
# This rewrites all the requests to the maintenance.html
View
@@ -1,4 +0,0 @@
-location ~* \.(xhtml|xhtm) {
- types { }
- default_type text/html
-}

0 comments on commit 72f80a7

Please sign in to comment.