Laravel Homestead: 403 forbidden on nginx

后端 未结 16 2232
醉话见心
醉话见心 2020-12-30 19:17

I just installed Laravel Homestead according to their instructions. When I open http://homestead.app:8000 I get the nginx 403 forbidden HTTP Response.

I have tried s

16条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-30 19:51

    To fix, ssh into your homestead, then do : nano /etc/nginx/sites-available/the-name-of-your-project.test

    After that all you need to do is get rid of $uri/ that you will find in the location object , then do vagrant reload and error should be fixed.

提交回复
热议问题