# Manage Configuration with external script question

**URL:** <https://www.ruby-forum.com/t/manage-configuration-with-external-script-question/227118>\
**Category:** NGINX\
**Created:** [March 4, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/manage-configuration-with-external-script-question/227118 "2013-03-04T21:24:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@Agus](https://www.ruby-forum.com/u/Agus)\
**Post date:** [March 4, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/manage-configuration-with-external-script-question/227118/1 "2013-03-04T21:24:16Z")

</div>

Hi guys,

I set up an nginx as reverse proxy and did some scripts so hosts could  
be  
added automatically just by entering the name and ip. Pretty basic.

Now i am interested in creating a script to manage the whole  
configuration  
files of nginx so it can be customized from a basic UI. The first thing  
that came to mind is to use xml. but before i reinvent the wheel i  
thought  
to send an email and perhaps getting some ideas.

My plan was to use xml and create the xml file from the fresh install  
conf  
files that i built. I would add a tag enable for instance in each or the  
elements that are able to be customized. and then re-create the nginx  
configuration file according to this.

Any hints are really appreciated.

Thanks!
