<div dir="ltr"><div class="gmail_extra">







<p class="gmail-p1"><span class="gmail-s1">Hi.</span></p>
<p class="gmail-p1"><span class="gmail-s1">It’s do really a funny experience. Now </span>I use in the following way.</p>
<p class="gmail-p1"><span class="gmail-s1">[ngx_http_hello_module]</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1">1. development:</p><p class="gmail-p1">ngx_http_hello_module.c  => ngx_http_hello_module.so</p><p class="gmail-p1"><br></p><p class="gmail-p1">2. production</p><p class="gmail-p1">mv modules/ngx_http_hello_module.so  modules/ngx_http_hello_module.so.2 <br></p><p class="gmail-p1">upload ngx_http_hello_module.so  to modules directory, and keep the same name</p><p class="gmail-p1">-- configuration --</p><p class="gmail-p1">load_module  module/ngx_http_hello_module.so;  # It always use the same name.</p><p class="gmail-p1">I can use lsof to check the so file used by nginx.pid or nginx.pid.oldbin.</p><p class="gmail-p1"><br></p><p class="gmail-p1">Is it the right way? Thanks again.</p><p class="gmail-p1"><br></p><p class="gmail-p1">B.R.~</p></div></div>