Compile Nginx

Praveen Kumar K S praveenssit at
Tue Apr 28 13:42:58 UTC 2020

I usually install from the official nginx apt repo. But since I want to use
modules like more_set_headers which requires building nginx from source,
I'm looking for best practices.

On Tue, Apr 28, 2020 at 6:50 PM Reinis Rozitis <r at> wrote:

> > 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
> _______________________________________________
> nginx mailing list
> nginx at



*K S Praveen KumarM: +91-9986855625 *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list