<font size="2"><font face="verdana,sans-serif">There&#39;s no API that I know of, unless you want to make your own module. You could try having a separate directory for virtual hosts included and use a database to store and generate the configuration. It&#39;d be a lot easier</font></font> than trying to interpret the configuration as well.<br>

<br><div class="gmail_quote">On Sun, May 2, 2010 at 4:21 AM, Ziyad Saeed <span dir="ltr">&lt;<a href="mailto:myschizobuddy@gmail.com">myschizobuddy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br><div>Inorder to make a simple UI for editing nginx.conf. I need a way to edit nginx.conf without having to open it up in a text editor. Does nginx have an api that i can use to edit information that is inside nginx.conf. This will help newbies add virtual host information and edit parameters via a UI.</div>


<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br>