简体   繁体   English

通过ebextensions用Nginx替换AWS Elastic beantalk中的Apache

[英]Replacing apache with nginx in aws elastic beanstalk via ebextensions

I've succesfully configured an AWS elasticbeanstalk application with apache ,now i want to replace the apache with nginx server. 我已经用apache成功配置了AWS Elasticbeanstalk应用程序,现在我想用nginx服务器替换apache。

I'cant find a proper tutorial ,some of them says that login to your associated ec2 instance and install nginx manually,but i don't think its the right way because elastic beanstalk provides (Modify/add programs via ebextensions folder and config file) 我找不到合适的教程,其中一些人说登录到关联的ec2实例并手动安装nginx,但我认为这不是正确的方法,因为弹性beantalk提供了(通过ebextensions文件夹和配置文件修改/添加程序)

So i am looking for a solution that uses .ebextensions config files. 因此,我正在寻找使用.ebextensions配置文件的解决方案。

This seems to be what you're looking for: Changing Apache to Nginx with PHP FPM on Elastic Beanstalk – Amazon Web Services . 这似乎是您要找的东西: 通过Elastic Beanstalk上的PHP FPM将Apache更改为Nginx – Amazon Web Services

Edit: Another possibility is to create a Custom Platform for Elastic Beanstalk . 编辑:另一种可能性是为Elastic Beanstalk创建自定义平台

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM