Nginx config file overwritten during Elastic Beanstalk deployment?

前端 未结 6 2107
自闭症患者
自闭症患者 2020-11-29 04:52

I need to add p3p headers to the static resource location on a standard Nodejs & Nginx Elastic Beanstalk.

I\'ve created an ebextension script as exp

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 05:09

    As of August, 2020 for Ruby 2.6 running on 64bit Amazon Linux 2/3.1.0:

    Placing nginx files in the .platform/nginx/ works for me.

    Here is my folder structure:

提交回复
热议问题