New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running the API behind a proxy it needs to use relative URLs #59

Merged
merged 1 commit into from Apr 10, 2017

Conversation

Projects
None yet
2 participants
@bcl
Collaborator

bcl commented Mar 31, 2017

Add a switch to make createUrl just return the url, not add the scheme,
host or port.

Split the API_URL into component pieces for new config.js, ALL parts
must be present when setting it.

This also displays the modified config.js when starting.

Startup of nginx has been moved to CMD in the Dockerfile so that you can
start up the container without overriding entrypoint. Just pass
/usr/bin/bash to run bash instead of nginx

When running the API behind a proxy it needs to use relative URLs
Add a switch to make createUrl just return the url, not add the scheme,
host or port.

Split the API_URL into component pieces for new config.js, ALL parts
must be present when setting it.

This also displays the modified config.js when starting.

Startup of nginx has been moved to CMD in the Dockerfile so that you can
start up the container without overriding entrypoint. Just pass
/usr/bin/bash to run bash instead of nginx

@atodorov atodorov merged commit 35e2bca into weldr:master Apr 10, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment