Parcourir la source

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

Disable proxy buffering
Jason Wilder il y a 11 ans
Parent
commit
92be4fa1ca
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 }};