完整關於各個平台和版本採用的 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