瀏覽代碼

Disable proxy buffering

For #1
Jason Wilder 11 年之前
父節點
當前提交
11faa5f240
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      nginx.tmpl

+ 1 - 0
nginx.tmpl

@@ -13,6 +13,7 @@ server {
 	gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
 
 	server_name {{ $host }};
+        proxy_buffering off;
 
 	location / {
 	    proxy_pass http://{{ $host }};