-
Notifications
You must be signed in to change notification settings - Fork 68
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
Multiple network interfaces for a vhost? #31
Comments
I also do require multiple IP Addresses per VM but with different port forwards. So I'll hack something and make a PR about it. There are multiple PR which aren't addressed but others are. Are there any rules about that? |
Well, I stopped using this tool a while ago so I can't really test bigger PRs. There are quite a few other people who do however and sometimes they chime in. I do tend to merge those that are straightforward to review though. |
Thanks for the quick answer. I'll write those changes for myself then and maybe they'll end up being upstreamed. We'll see. |
I've created a pull request (#34) addressing this issue. I hope it might get merged. |
Is there any way to support multiple IP adresses for a VM?
I would like to do this because I need to have more than one Apache virtual host on a VM and allow access to port 80 on both addresses. I need to do that because one of the vhosts needs to be configured with some insecure settings ("HttpProtocolOptions Unsafe") which I wouldn't want to apply to the default vhost.
Right now I don't think I can have two IP addresses because the hooks script assumes that there is exactly one possible value of private_ip per VM, I think.
I can't make one of the Apache vhosts a CNAME (and thus need only one IP address) because this is against best practice for Apache httpd (see https://httpd.apache.org/docs/2.4/dns-caveats.html).
The text was updated successfully, but these errors were encountered: