我和Valet有个问题。
我被检查了port 80 (netstat and lsof -i :80)
然后是"valet install“
user@MacBook:~$ valet install
Stopping nginx....
Installing nginx configuration...
Installing nginx directory...
Updating PHP configuration...
Restarting php71...
Restarting dnsmasq...
Restarting nginx...Valet安装成功!
然后我尝试user@MacBook:~$ ping foobar.dev ^C
但是这个域没有被点击
我什么都试过了:重新安装贴身,nginx,贴身链接,贴身公园等等.但是域名没有解决请帮帮我
发布于 2021-04-03 16:22:44
首先,你应该链接你的网站:
valet link {project_name}链接您的项目。.test域,类似于"foobar.test“。hosts文件并将您的项目域添加到其中,可以在/etc/hosts中找到它:
127.0.0.1 foobar.test请注意,.dev域对Chrome不再有效,请签出此链接使用.dev域?不再是了
https://stackoverflow.com/questions/46134785
复制相似问题