From 6fd6ee7b20a059a5db55f2b6893e572c31ca7ce7 Mon Sep 17 00:00:00 2001 From: Kent Shultz Date: Thu, 29 May 2014 12:42:10 -0700 Subject: [PATCH] add support for setting default_type --- nginx/templates/config.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/templates/config.jinja b/nginx/templates/config.jinja index f9ec2ab..a8bc2e6 100644 --- a/nginx/templates/config.jinja +++ b/nginx/templates/config.jinja @@ -22,7 +22,7 @@ events { http { include /etc/nginx/mime.types; - default_type application/octet-stream; + default_type {{ nginx.get('default_type', 'application/octet-stream') }}; log_format main '$scheme://$host:$server_port$uri$is_args$args $remote_addr:$remote_user "$request" $request_time $request_length:$bytes_sent $status "$http_referer" "$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.fifo main; sendfile {{ nginx.get('sendfile', 'on') }};