Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

consul: turn off proxy buffering in nginx conf #1341

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

ryane
Copy link
Contributor

@ryane ryane commented Apr 11, 2016

  • Installs cleanly on a fresh build of most recent master branch
  • Upgrades cleanly from the most recent release
  • Updates documentation relevant to the changes

When there are many nodes and services registered, the Consul UI can break when accessed through the nginx-consul proxy. This can occur when the internal nodes endpoint (/v1/internal/ui/nodes) returns more than 16K of data. The response is truncated and the UI fails (with an unintuitive HTTP error code from Consul: 200 OK "error"). This turns off proxy_buffering in the nginx config which resolves the problem.

@ryane
Copy link
Contributor Author

ryane commented Apr 11, 2016

@stevendborrelli stevendborrelli added this to the 1.1 milestone Apr 19, 2016
@stevendborrelli stevendborrelli merged commit f9f7da7 into master Apr 19, 2016
@stevendborrelli stevendborrelli deleted the fix/consul-ui-proxy-buffering branch April 19, 2016 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants