location / { proxy_pass http://localhost:YUNOPORT/; proxy_set_header Host $host; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf proxy_buffering off; }