Skip to content
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

Bad Gateway after sucessfull deployment #130

Closed
GitHubTodoOpen opened this issue Jan 17, 2018 · 2 comments
Closed

Bad Gateway after sucessfull deployment #130

GitHubTodoOpen opened this issue Jan 17, 2018 · 2 comments

Comments

@GitHubTodoOpen
Copy link

Jenkins Docker app deployment is successfull but some issue related causes bad gateway.

docker service logs srv-captain-my-app --since 60m --follow

screencapture:
screen shot 2018-01-17 at 10 25 41 am

Kudos for all the good work on captainduckduck, I'm really loving it!

@githubsaturn
Copy link
Collaborator

If I remember correctly, Jenkins run on 8080, not 80. Nginx by default binds to port 80. If you want it to bind to a non-standard port, go to your apps settings, click on Edit Nginx Config and change this line:

set $upstream http://<%-s.localDomain%>;

to

set $upstream http://<%-s.localDomain%>:8080;

@GitHubTodoOpen
Copy link
Author

Solution work perfectlly, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants