You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If HAProxy also listens to port 8080, all works. If not, it won't work.
Any idea if the issue of not preserving the external port a Kibana, nginx, or HAProxy setup issue? I figure, somewhere along the path, the external/original port information got lost.
I don't think it is a HAProxy. If HAProxy is eliminated, and docker maps 8080 to nginx 8080, it works. If docker maps any other port number to nginx 8080, it won't work. Perhaps, additional HTTP headers need to be passed along to nginx. nginx only "knows" 8080...I figure...
The text was updated successfully, but these errors were encountered:
HAProxy 1.4, nginx 1.4.7, docker 0.10.0
User --port 80-> HAProxy --10000-> Docker --8080-> Nginx hosting Kibana
Nginx runs inside Docker listening to port 8080
Docker maps port 10000 to port 8080
HAProxy listens port 80 and direct /kibana to port 10000
The problem seems to be Kibana or Nginx "rewrites/accesses" the URL and so, the user browser indicates Kibana code attempts port 8080 instead of 80.
Here is what is shown on the browser when user tries to go to 192.168.1.200/kibana
"http://192.168.1.200:8080/kibana/index.html#/dashboard/file/logstash.json"
If HAProxy also listens to port 8080, all works. If not, it won't work.
Any idea if the issue of not preserving the external port a Kibana, nginx, or HAProxy setup issue? I figure, somewhere along the path, the external/original port information got lost.
I don't think it is a HAProxy. If HAProxy is eliminated, and docker maps 8080 to nginx 8080, it works. If docker maps any other port number to nginx 8080, it won't work. Perhaps, additional HTTP headers need to be passed along to nginx. nginx only "knows" 8080...I figure...
The text was updated successfully, but these errors were encountered: