Nginx config file overwritten during Elastic Beanstalk deployment?

前端 未结 6 2106
自闭症患者
自闭症患者 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:17

    After spending almost entire day and trying out all the possible solutions, as of July 17, 2017, the above solution does not work. For me, I wanted to replace /etc/nginx/conf.d/elasticbeanstalk/00_application.conf I created the below shown folder structure in my .ebextension folder and the file was overwritten with my content. This solution also worked for nginx.conf which is located in /etc/nginx folder

提交回复
热议问题