<div dir="ltr">Thanks</div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-01 0:50 GMT+08:00 Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<span class=""><br>
On Wed, Aug 31, 2016 at 01:19:14AM +0800, 洪志道 wrote:<br>
<br>
> Hi.<br>
><br>
> It’s do really a funny experience. Now I use in the following way.<br>
><br>
> [ngx_http_hello_module]<br>
><br>
><br>
> 1. development:<br>
><br>
> ngx_http_hello_module.c  => ngx_http_hello_module.so<br>
><br>
><br>
> 2. production<br>
><br>
> mv modules/ngx_http_hello_module.<wbr>so  modules/ngx_http_hello_module.<wbr>so.2<br>
><br>
> upload ngx_http_hello_module.so  to modules directory, and keep the same<br>
> name<br>
><br>
> -- configuration --<br>
><br>
> load_module  module/ngx_http_hello_module.<wbr>so;  # It always use the same<br>
> name.<br>
><br>
> I can use lsof to check the so file used by nginx.pid or nginx.pid.oldbin.<br>
><br>
><br>
> Is it the right way? Thanks again.<br>
<br>
</span>This should be fine, yes.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" rel="noreferrer" target="_blank">http://nginx.org/</a><br>
<br>
______________________________<wbr>_________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx-devel</a></div></div></blockquote></div><br></div>