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

nginx_status not working #219

Open
sjoshi10 opened this issue Jun 9, 2017 · 2 comments
Open

nginx_status not working #219

sjoshi10 opened this issue Jun 9, 2017 · 2 comments

Comments

@sjoshi10
Copy link

sjoshi10 commented Jun 9, 2017

We have the latest interlock downloaded but nginx_status is not working for us. I have used the latest nginx docker image and was able to get nginx_status working. For some reason, with interlock it doesn't work. Can you help us out on this?

2017/06/08 19:14:30 [error] 339#339: *8578 "/usr/share/nginx/html/nginx_status/index.html" is not found (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /nginx_status/ HTTP/1.1", host: "localhost"
2017/06/08 19:14:31 [error] 339#339: *8579 "/usr/share/nginx/html/nginx_status/index.html" is not found (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /nginx_status/ HTTP/1.1", host: "localhost"
2017/06/08 19:14:32 [error] 339#339: *8582 "/usr/share/nginx/html/nginx_status/index.html" is not found (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /nginx_status/ HTTP/1.1", host: "localhost"

@ehazlett

@ehazlett
Copy link
Owner

ehazlett commented Jun 9, 2017

It should work as the route is there https://github.com/ehazlett/interlock/blob/master/ext/lb/nginx/template.go#L71. What version of Nginx are you using in your proxy container? Also, what version of interlock (-v)?

@sjoshi10
Copy link
Author

sjoshi10 commented Jun 9, 2017

We are using interlock version 1.3.2 and nginx version 1.13.1. Yea i do see the route was added there. But everytime we make request to /nginx_status, it routes to application running on swarm cluster. There might be something wrong with our configurations.

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