]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
teuthology: Correct MIME type spec for log files 303/head
authorZack Cerza <zack@redhat.com>
Mon, 30 Jan 2017 16:17:35 +0000 (09:17 -0700)
committerZack Cerza <zack@redhat.com>
Mon, 30 Jan 2017 16:17:35 +0000 (09:17 -0700)
Gzipped files were being served as text/plain. Instead of applying text/plain to everythincg, extend the default MIME configuration to serve *.log as text/plain.

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/teuthology/templates/nginx.conf

index d83afb287d299f8652e86bd0e2873aa1fe3feacb..2ae9d930cd32f1b850efd7c9d9310ba8adf52980 100644 (file)
@@ -6,5 +6,7 @@ server {
         location /teuthology {
           alias /home/teuthworker/archive;
         }
-        default_type text/plain;
+        types {
+            text/plain log;
+        }
 }