vagrant-share

How to share a vagrant machine with https

安稳与你 提交于 2020-04-15 11:33:54
问题 I have a working vagrant VM I want to Share. In my Vagrantfile I have: config.vm.network "forwarded_port", guest: 80, host: 8080 config.vm.network "private_network", ip: "192.168.1.15" config.vm.network "forwarded_port", guest: 443, host: 443 in the virtual host I have <VirtualHost *:443> ... ServerAlias *.vagrantshare.com .... </Virtualhost> not sure about the first line but it was there already I share the machine with vagrant share --https 443 this is the output: ==> default: Detecting

Vagrant Share - Laravel Homestead, Ubuntu

心已入冬 提交于 2019-12-11 15:14:38
问题 When I run vagrant share id-goes-here --http 80 , the terminal gets stuck and it does not show me a URL: ==> homestead-7: Detecting network information for machine... homestead-7: Local machine address: 127.0.0.1 homestead-7: homestead-7: Note: With the local address (127.0.0.1), Vagrant Share can only homestead-7: share any ports you have forwarded. Assign an IP or address to your homestead-7: machine to expose all TCP ports. Consult the documentation homestead-7: for your provider (

Laravel and ngrok: url domain is not correct for routes and assets

别来无恙 提交于 2019-12-09 11:20:24
问题 My setup: Homestead on Mac OSX with multiple sites configured I have one site setup using domfit.test as the local domain (auto mapped using hostsupdater) My problem: If I vagrant ssh , and then share domfit.test I get a random generated ngrok url as you'd expect (http://whatever.ngrok.io), however when I access this URL all my resources / routes are being prefixed with http://domfit.test/ (http://domfit.test/login for instance) I've tried the following: Setting APP_URL as the ngrok URL php