浏览代码

Merge pull request #2 from jwilder/jw-proxy-fix

Disable proxy buffering
Jason Wilder 11 年之前
父节点
当前提交
92be4fa1ca
共有 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 }};