Re: Deploying newly compiled nginx from test server to production

2015-06-16 Thread ryd994
Congratulations for get the RPM. If you search in spec file for "with_spdy", you should find that tag (think it as some variable) around. I'm not quite sure about --with-cc-opt="%{optflags} $(pcre-config --cflags)". Seems it is there to keep nginx compiled with same options of pcre lib. If all yo

Re: Deploying newly compiled nginx from test server to production

2015-06-15 Thread ajjH6
Thanks ryd994. I eventually build the RPM ok. I am attempting to build a stripped down nginx RPM with minimal modules, but also with modsec. I found a suggested config at - https://www.digitalocean.com/community/tutorials/how-to-compile-nginx-from-source-on-a-centos-6-4-x64-vps ./configure \ --

Re: Deploying newly compiled nginx from test server to production

2015-06-15 Thread ryd994
I would prefer RPM. Just patching the official one. RPM patching process is pretty standardized and shouldn't take more than a few minutes. Could you explain what problem you have? On Mon, Jun 15, 2015, 05:59 ajjH6 wrote: > Hello > > What is a good method for deploying a newly compiled nginx bi

Deploying newly compiled nginx from test server to production

2015-06-15 Thread ajjH6
Hello What is a good method for deploying a newly compiled nginx binary with an extra module? (mod_security) I can get all to compile ok. However, I do not want to compile on my production server. There are two many dependencies (ie HTTPD for mod_sec). In the case of mod_security, it seems only