There'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'd be a lot easier than
trying to interpret the configuration as well.
On Sun, May 2, 2010 at 4:21 AM, Ziyad Saeed <myschizobuddy@gmail.com> wrote:
>
> 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.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx