如图ubantu部署laravel项目是遇到502

配置nginx.conf,如下图

ubantu部署laravel项目是遇到502

 

location / {

index index.html index.htm index.php; try_files $uri $uri/ /index.php?$query_string;

}

仔细检查/etc/nginx/sites-enables/homestead.test中的php-ftp,是否正确

ubantu部署laravel项目是遇到502

我之前是7.3,改成7.2后重启nginx和php-ftp,刷新网页就可以正常访问了。

sudo service nginx reload 
sudo service php7.2-fpm reload

ubantu部署laravel项目是遇到502

 

 

相关文章:

  • 2021-12-08
  • 2022-12-23
  • 2021-04-04
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2021-04-15
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-04-28
相关资源
相似解决方案