Anyway to backup nginx before recompiling

Posted by JM4 on Server Fault See other posts from Server Fault or by JM4
Published on 2012-08-29T21:13:43Z Indexed on 2012/08/29 21:40 UTC
Read the original article Hit count: 283

Filed under:
|
|
|

I am looking to install the HttpGeoipModule for NGINX but learning I have to recompile the entire thing from source in order to do so. I have a new Media Temple DV 4.0 server and that comes with nginx v 1.3.0 stock and have never had to recompile from source before and a bit nervous to make changes without being able to revert to a previous state in the event something messes up (that and the fact it is affecting a live server so no idea what downtime is).

My plan was to copy all the existing modules used (nginx -V to list them all and copy the modules already compiled). Then rebuild from source with the copied info above and including the ./configure --with-http_geoip_module reference.

Is is possible to backup the existing nginx configuration in the event something goes wrong?

© Server Fault or respective owner

Related posts about apache2

Related posts about nginx