[AWS Elastic Beanstalk] 各平台 Proxy Server List

Veck
Veck
Aug 7, 2018 · 2 min read

完整關於各個平台和版本採用的 Proxy Server 可以在[這裡](https://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/dg/platform-history.html)找到:

Nginx

- Nodejs*
- Go
- Single Container Docker
- Java SE
- Ruby (看版本使用的 application servrer 可能是 puma 或 passenger,前者居多)

Apache

- Node.js*
- Tomcat
- Python
- PHP

Node.js

Node.js 預設是採用 nginx 作為 proxy server,但是官網[文件](https://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/dg/create_deploy_nodejs.container.html)有提到可以利用 Ebextension 來設定改用 Apache 作為反向代理伺服器
**.ebextensions/node-settings.config**

option_settings:
aws:elasticbeanstalk:container:nodejs:
NodeCommand: “npm start”
ProxyServer: apache
GzipCompression: true
aws:elasticbeanstalk:container:nodejs:staticfiles:
/images: myimages

IIS

- Windows Server 上的 .NET

Veck

Written by

Veck

More From Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade