【问题标题】:How to deploy a symfony 3 project on Aws elasticbeanstalk如何在 AWS elasticbeanstalk 上部署 symfony 3 项目
【发布时间】:2020-09-01 09:42:54
【问题描述】:

我是 AWS 和一般 Web 应用程序部署的新手,我正在尝试使用 Elastic Beanstalk 部署我的 Symfony 3.4 应用程序。 所以我尝试按照这些说明进行操作: https://docs.aws.amazon.com/fr_fr/elasticbeanstalk/latest/dg/php-symfony-tutorial.html

当我点击 url 时我总是有这个消息的问题:

Forbidden

You don't have permission to access / on this server.

我的服务器规格:

运行 PHP 7.3 和 2.9.6 平台版本的 64 位 Amazon Linux。

我也关注了这个发布,但我无法解决问题:

aws beanstalk 403 error while deploying

当我在文档根目录中添加/public 时出现此错误并且应用程序无法部署:

Following services are not running: proxy.

谢谢。

【问题讨论】:

    标签: amazon-web-services symfony amazon-elastic-beanstalk


    【解决方案1】:

    我找到了解决方案, symfony 3 的文档根目录是 /web。

    谢谢。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-08-02
      • 2019-01-10
      • 2018-10-22
      • 2014-03-02
      • 2019-08-20
      • 2016-02-24
      • 2013-07-24
      • 1970-01-01
      相关资源
      最近更新 更多