Compile Nginx

Reinis Rozitis r at roze.lv
Tue Apr 28 13:20:23 UTC 2020


> Can I compile nginx on Ubuntu 16.04 and reuse it on other deployments? Or do I need to compile every time ? Please advise.

As far as the hosts have all the shared libraries like openssl/pcre etc (you can check with 'ldd /path/to/nginx') there is no need to compile every time and you can just copy the nginx binary.

rr



More information about the nginx mailing list