What happens to installed NGINX version if I compile another version from source ?
I have create a LEMP stack and NGINX 1.4.6 is installed. I was wondering what will happen if I compile a different version of NGINX (1.10 for example) and add my modules of choice.
Will it 1.10 overwrite version 1.4.6 and is this just like ‘updating’ the previous version ? Or is it a necessary to first remove the previous version and then compile the newer version ? Basically I’m asking this because I also wan to know what happens to the virtual hosts which I might have configured … (and ofcourse config file)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.