Nginx and render

how to upload nginx.conf and run it on my service? my service is on python, do i just need to put the file in the repo and add the start command? but if i edited the script automatically using python how would i reload it? or is there a manager or another way?

Changes are made by committing / pushing new changes to the repository, or source image, that a service uses.

yes sorry im new i mean how do i run it while running the python script at the same time and reload it and stuff and i want to be able to edit it but i dont think i can edit it straight from the repo can i? im sorry if im unclear