Laravel Homestead: 403 forbidden on nginx

后端 未结 16 2383
醉话见心
醉话见心 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:36

    Change the config of Nginx

    Put that line in 'location /' section:

    try_files $uri $uri/public/index.php?$query_string;
    

    If its not working then replace your 'public' with the folder name that content 'index.php',

    That worked great with me using ServerPilot,

    Good luck!.

提交回复
热议问题