By EricMathison
I’m using RTCamps custom bulid of NGINX without EE. There is an update for one of the modules included in his build, but I’m hesitant to reinstall nginx again because I’m not sure if I’ll lose all my configurations.
TBH, I can’t remember all the changes I made to what files.
His repo: https://launchpad.net/~rtcamp/+archive/ubuntu/nginx
Can I reinstall nginx without losing my config files? ‘apt install nginx-custom’
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’d recommend backing your config files up to another location - and with .bak . That way, even if the configs are overwritten, you will still have your previous config. You may also want to test this on a non-production server, so taking a snapshot of your production Nginx Droplet, and then launching a new one on which to test re-installing the custom Nginx build would be a good plan. Alternatively, you could start from scratch with the custom build, and then import your config files.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.