Ngnix config is not retained after rebuild

What are you modifying it to do? I’m asking because there might be another way to achieve the same result.