瀏覽代碼

add support for setting default_type

susefix
Kent Shultz 10 年之前
父節點
當前提交
6fd6ee7b20
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      nginx/templates/config.jinja

+ 1
- 1
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') }};

Loading…
取消
儲存