更新时间:2022-03-12 22:42:11
我刚刚解决了同样的问题.
I have just solved the same problem.
您可以通过配置以下目录结构轻松解决此问题.
you can easily solve the problem by configuring the following directory structure.
~/my-app/
|-- readme.md
|-- .ebextensions/
| |-- options.config # Option settings
| -- cloudwatch.config # Other .ebextensions sections, for example
-- .platform/
-- nginx/ # Proxy configuration
|-- nginx.conf
-- conf.d/
-- custom.conf
-- elasticbeanstalk
|-- server.conf
有关更多信息,请参见 url
for more information, see this url
我的/var/log/eb-engine.log显示了以下消息行.
my /var/log/eb-engine.log showed the message line below.
Running command /bin/sh -c cp -rp /var/app/staging/.platform/nginx/. /var/proxy/staging/nginx