기업 프록시 뒤에있는 Windows 10 노트북에서 작업하고 있습니다. 마지막으로 VirtualBox, Vagrant 및 Homestead를 설정할 수있었습니다.Laravel Homestead : 요청 된 URL을 검색 할 수 없습니다 (프록시 뒤에서 작업 중임)
불행히도 브라우저에서 내 사이트에 액세스 할 수 없습니다. 그것은 말합니다 : 요청한 URL을 검색 할 수 없으므로 호스트 이름 "test.app"에서 IP 주소를 확인할 수 없습니다.
방랑벽 플러그인 vagrant-proxyconf을 설치하고 Homestead-folder 내 Vagrantfile에 설정했습니다. 내 Vagrantfile에 다음 줄을 추가했습니다 :
192.168.10.10 test.app
기계 :
이---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: C:/Users/wn00111510/Projekte/ContentAnalyzer
to: /home/vagrant/contentanalyzer
- map: C:/Users/wn00111510/Projekte/Test
to: /home/vagrant/test
sites:
- map: test.app
to: /home/vagrant/test
databases:
- homestead
내 호스트 파일은 하나의 항목이 있습니다
# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'json'
require 'yaml'
VAGRANTFILE_API_VERSION ||= "2"
confDir = $confDir ||= File.expand_path(File.dirname(__FILE__))
homesteadYamlPath = confDir + "/Homestead.yaml"
homesteadJsonPath = confDir + "/Homestead.json"
afterScriptPath = confDir + "/after.sh"
aliasesPath = confDir + "/aliases"
require File.expand_path(File.dirname(__FILE__) + '/scripts/homestead.rb')
Vagrant.require_version '>= 1.9.0'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://proxy.my.proxy.com:3128"
config.proxy.https = "http://proxy.my.proxy.com:3128"
config.proxy.no_proxy = "localhost,127.0.0.1,192.168.10.10"
end
# ... default configuration
end
이 내 Homestead.yaml입니다 실행 중이며 방글라데시 ssh를 통해 가상 컴퓨터에 로그인 할 수 있습니다. 방황 재로드 - 프로비저닝은 어떤 것도 변경하지 않습니다.
...
Booting VM...
Waiting for machine to boot. THis may take a few minutes...
SSH address: 127.0.0.1:2222
SSH username: vagrant
SSH auth method: private key
Warning: Connection reset. Retrying...
Warning: Remote Connection disconnect. Retrying...
Warning: Connection reset. Retrying...
Warning: Remote Connection disconnect. Retrying...
Warning: Connection reset. Retrying...
Machine booted and ready!
...
어떤 아이디어 : 연결 재설정에 대한 경고가 부팅시
?