title: Any good way to programmatically change nginx config file from python?
body: <p>I have a python script that dynamically alters nginx config file (<code>nginx.conf</code>). Since nginx configuration is not in <code>ini</code> format, i currently use some regexp to parse and modify file content. Is it the only way or some better way to programmatically alter nginx configuration exist?</p>