Best Way to Modify redis.conf to Survive ee update?

Hi. I need to make two changes to my redis.conf file:

(1) I need it to cache urls with a query string

(2) I need the redis key to ignore the query string so that urls that only differ by query string are not separately cached.

I’ve made the two modifications in redis.conf but these mods will not survive upon updating easy engine. What is the best practice here so that my custom modifications remain in place after an easy engine update?