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
To modify the config file without it being overwritten, the solution is to modify the template file located at /tmp/deployment/config/#etc#nginx#conf.d#00_elastic_beanstalk_proxy.conf
I update this file instead to add the desired directive, and it is automatically deployed to /etc/nginx/conf.d, and voila, the modification is active.