-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
Match the 808X port to the .10X ip address. This was already the case for most 808X ports, but both logs and backups were trying to use port 8085. Since backups uses ip address .105, use the port on that host. The logs host uses ip address .102 so use port 8082 on that host. Also add a direct port forward for kibana to bypass the apache reverse proxy in front of it. Signed-off-by: K Jonathan Harker <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline question.
@@ -159,6 +159,7 @@ Vagrant.configure(2) do |config| | |||
elk.vm.hostname = 'elk.vagrant' | |||
elk.vm.network "private_network", ip: "10.0.0.104" | |||
elk.vm.network "forwarded_port", guest: 80, host: 8084 | |||
elk.vm.network "forwarded_port", guest: 5601, host: 5601 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jesusaurus: can you explain why we are this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a stale change I meant to make a few days ago. It allows a dev to hit kibana directly rather than going through the apache reverse proxy. We added a default deny vhost to the apache config here, so you need a hostname match to hit the correct vhost to proxy to kibana.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, that sounds like a great change to add. Since this change is for fixing vagrant port issues, it all looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@@ -159,6 +159,7 @@ Vagrant.configure(2) do |config| | |||
elk.vm.hostname = 'elk.vagrant' | |||
elk.vm.network "private_network", ip: "10.0.0.104" | |||
elk.vm.network "forwarded_port", guest: 80, host: 8084 | |||
elk.vm.network "forwarded_port", guest: 5601, host: 5601 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, that sounds like a great change to add. Since this change is for fixing vagrant port issues, it all looks good to me.
Match the 808X port to the .10X ip address. This was already the case
for most 808X ports, but both logs and backups were trying to use port
8085. Since backups uses ip address .105, use the port on that host. The
logs host uses ip address .102 so use port 8082 on that host.
Also add a direct port forward for kibana to bypass the apache reverse
proxy in front of it.
Signed-off-by: K Jonathan Harker [email protected]