AWS elastic beanstalk .ebextensions append to file

I'm trying to use a .ebextensions config file to append to the httpd.conf file, just to stop caching of some files, but unfortunately it just overwrites the file rather than appending to it. Here is the syntax I'm using:

files:   "/etc/httpd/conf/httpd.conf":     mode: "000644"     owner: root     group: root     encoding: plain     content: |       <filesMatch "\.(js|css)$">         FileETag None         <ifModule mod_headers.c>            Header unset ETag            Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"            Header set Pragma "no-cache"            Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"         </ifModule>       </filesMatch> 

Any help appreciated on stop it overwriting and only appending.

Replay

Category: amazon web services Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.133 (s). 12 q(s)