如何在AWS Elasticbeanstalk上部署symfony 3项目

问题描述 投票:0回答:1

我是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.

enter image description here

谢谢。

amazon-web-services symfony amazon-elastic-beanstalk
1个回答
0
投票

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

谢谢。

© www.soinside.com 2019 - 2024. All rights reserved.