From: Zack Cerza Date: Mon, 30 Jan 2017 16:17:35 +0000 (-0700) Subject: teuthology: Correct MIME type spec for log files X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cf9988aa1f2b840913b63ecb0b414f601b078e01;p=ceph-cm-ansible.git teuthology: Correct MIME type spec for log files 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 --- diff --git a/roles/teuthology/templates/nginx.conf b/roles/teuthology/templates/nginx.conf index d83afb2..2ae9d93 100644 --- a/roles/teuthology/templates/nginx.conf +++ b/roles/teuthology/templates/nginx.conf @@ -6,5 +6,7 @@ server { location /teuthology { alias /home/teuthworker/archive; } - default_type text/plain; + types { + text/plain log; + } }