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

I said it was a bad example .. I can manage any extra folder with different solutions .. no issues so far ..
Yet, I want to be able to add a whole new section in the nginx config .. I’m just curios how to do it if I had to do it ..