Change media types for `.atom` and `.rss` files
Modify the configurations so that:
* `.atom` files are served with the `application/atom+xml`¹ media type
* `.rss` files are served with the `application/rss+xml`² media type
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
¹ https://www.iana.org/assignments/media-types/application/atom+xml
² http://tools.ietf.org/id/draft-nottingham-rss-media-type-00.txt
Ref: https://github.com/h5bp/server-configs-apache/pull/50#issuecomment-76552855
653c461c35
Close h5bp/server-configs-nginx#90
This commit is contained in:
parent
66be52363e
commit
722e11e432
|
@ -1,6 +1,8 @@
|
|||
### HEAD
|
||||
|
||||
* Minimum nginx version upped from 1.2.1 to current stable, 1.6.0
|
||||
* Change media types for `.atom` and `.rss` files
|
||||
[[#90](https://github.com/h5bp/server-configs-apache/issues/90)].
|
||||
* Minimum nginx version upped from 1.2.1 to current stable, 1.6.0.
|
||||
|
||||
### 1.0.0 (October 24 2014)
|
||||
|
||||
|
|
|
@ -50,7 +50,9 @@ types {
|
|||
video/x-msvideo avi;
|
||||
|
||||
# Web feeds
|
||||
application/xml atom rdf rss xml;
|
||||
application/atom+xml atom;
|
||||
application/rss+xml rss;
|
||||
application/xml rdf xml;
|
||||
application/xslt+xml xsl;
|
||||
|
||||
# Web fonts
|
||||
|
|
Loading…
Reference in New Issue