So I store the configuration in a database or xml file or whatever, and then generate the conf file from it.<div>thank you.<br><br><div class="gmail_quote">On Mon, May 3, 2010 at 3:14 AM, Gabriel Evans <span dir="ltr">&lt;<a href="mailto:me@gabevans.com">me@gabevans.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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"><div class="im">On Sun, May 2, 2010 at 4:21 AM, Ziyad Saeed <span dir="ltr">&lt;<a href="mailto:myschizobuddy@gmail.com" target="_blank">myschizobuddy@gmail.com</a>&gt;</span> wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div class="im">

<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></div><div class="im">_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></div></blockquote></div><br>
<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></div>