简体   繁体   English

Laradock-Localhost在使用Nginx的Windows 7上不起作用

[英]Laradock - Localhost not working on Windows 7 using Nginx

I have setup a laradock app on my local machine. 我已经在本地计算机上设置了laradock应用程序。 I have followed the instructions as provided: http://laradock.io/ 我已按照提供的说明进行操作: http : //laradock.io/

In addition to that as I am on Windows 7, and using Docker toolbox 除此之外,就像我在Windows 7上一样,并使用Docker工具箱

when access to localhost I get this error This site can't be reached 访问本地主机时出现此错误,无法访问该站点

in the condition you are using toolbox, you must place your project and laradock to c:\\users\\your-user , or make symlink to this forder. 在使用工具箱的情况下,必须将项目和laradock放置到c:\\users\\your-user ,或对此链接进行符号链接。 Check your docker machine ip using docker-machine ip default . 使用docker-machine ip default检查您的docker machine ip。 Then access your-docker-ip and you will see your laravel app. 然后访问your-docker-ip,您将看到您的laravel应用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM