How can I update the nginx config directly in discourse/docker ..?

Yes I found these instructions inside the template files ..
Isn;t there an instruction to append a new section ? instead of find-replace ??