Commit de591fa1 authored by omega8cc's avatar omega8cc

Nginx: Use text/xml mime type for .xml URLs to restore defaults.

parent 8180c5d7
......@@ -449,7 +449,7 @@ location ~* \.xml$ {
add_header X-Header "Boost Citrus 2.4";
charset utf-8;
types { }
default_type application/rss+xml;
default_type text/xml;
try_files /cache/normal/$host${uri}_.xml /cache/normal/$host${uri}_.html $uri @drupal;
}
......
......@@ -444,7 +444,7 @@ location ^~ /<?php print $subdir; ?> {
add_header X-Header "Boost Citrus 2.4";
charset utf-8;
types { }
default_type application/rss+xml;
default_type text/xml;
try_files /cache/normal/$host${uri}_.xml /cache/normal/$host${uri}_.html /$1 $uri @drupal_<?php print $subdir; ?>;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment