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

Defaults ZIPKIN_BASE_URL to same origin in production config #38

Merged
merged 1 commit into from
Apr 14, 2017

Conversation

codefromthecrypt
Copy link

Previously, you couldn't change ZIPKIN_BASE_URL when developing, and
the production build was hard-targeted to localhost. This flips the
preference, so that the production build is fixed to a more realistic
same-origin policy, while development can be changed easily.

See #37

Previously, you couldn't change `ZIPKIN_BASE_URL` when developing, and
the production build was hard-targeted to localhost. This flips the
preference, so that the production build is fixed to a more realistic
same-origin policy, while development can be changed easily.

See #37
@codefromthecrypt
Copy link
Author

cc @llinder with this, docker works now.

@codefromthecrypt codefromthecrypt merged commit f9cdeed into master Apr 14, 2017
@codefromthecrypt codefromthecrypt deleted the default-same-origin branch April 14, 2017 09:18
codefromthecrypt pushed a commit to openzipkin-attic/docker-zipkin that referenced this pull request Apr 14, 2017
This changes the zipkin-ui image to rewrite nginx configuration on start
based on the `ZIPKIN_BASE_URL` variable, which defaults to
'http://zipkin:9411'. Users can change this variable to point at a
different zipkin host such as a kubernetes pod.

See openzipkin-attic/zipkin-ui#38
Fixes #134
codefromthecrypt pushed a commit to openzipkin-attic/docker-zipkin that referenced this pull request Apr 14, 2017
This changes the zipkin-ui image to rewrite nginx configuration on start
based on the `ZIPKIN_BASE_URL` variable, which defaults to
'http://zipkin:9411'. Users can change this variable to point at a
different zipkin host such as a kubernetes pod.

See openzipkin-attic/zipkin-ui#38
Fixes #134
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant