nginx -V is a useful command that shows options for. \ configure, which was used to create nginx, which actually works. It is useful to get a detailed imagination.
apt-get source nginx - to get the source
install will automatically replace the actual installed version with a new one
Keep in mind that some nginx modules may require additional libraries on the server. geoip is a classic example of this
Gmugra
source share