Opened 11 years ago
Closed 9 years ago
#900 closed defect (fixed)
nginx warning using example config: text/html already implied in gzip_types
Reported by: | Daniel Krol | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | documentation | Keywords: | |
Cc: | Parent Tickets: |
Description
If you use the Nginx script here:
http://mediagoblin.readthedocs.org/en/latest/siteadmin/deploying.html
Nginx will give you the following warning when you restart:
Restarting nginx: nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/sites-enabled/nginx.conf:15
According to this http://stackoverflow.com/a/6475493 it's because text/html
is already gziped by default. So, we can leave it out of this config.
Fixed some time between 0.7.0 and 0.8.0. Thanks!