流浪者分享产生了400个不良请求

Was*_*sim 11 apache vagrant

我正在使用Vagrant和apache2,特别是命令

vagrant share --https 443

这一切都很好,并提供了一个URL.当我访问该URL时,我遇到了400错误:

错误的请求

您的浏览器发送了此服务器无法理解的请求.位于*.vagrantshare.com端口443的Apache/2.4.12(Ubuntu)服务器

我一直在使用https访问流浪汉机器,但它似乎不喜欢与vagrant共享.

Eth*_*han 0

这是一个已知的 Vagrant Share 错误:https ://github.com/webdevops/vagrant-docker-vm/issues/51

我见过讨论的唯一解决方法是使用自定义域或完全使用其他产品(例如 ngrok)来创建共享。请参阅此处的错误讨论:https://github.com/mitchellh/vagrant/issues/5493#issuecomment-159792794

自定义域的 Vagrant Share 文档位于:https ://atlas.hashicorp.com/help/vagrant/shares/custom-domains