Thanks 2016-09-01 0:50 GMT+08:00 Maxim Dounin <[email protected]>:
> Hello! > > On Wed, Aug 31, 2016 at 01:19:14AM +0800, 洪志道 wrote: > > > Hi. > > > > It’s do really a funny experience. Now I use in the following way. > > > > [ngx_http_hello_module] > > > > > > 1. development: > > > > ngx_http_hello_module.c => ngx_http_hello_module.so > > > > > > 2. production > > > > mv modules/ngx_http_hello_module.so modules/ngx_http_hello_module.so.2 > > > > upload ngx_http_hello_module.so to modules directory, and keep the same > > name > > > > -- configuration -- > > > > load_module module/ngx_http_hello_module.so; # It always use the same > > name. > > > > I can use lsof to check the so file used by nginx.pid or > nginx.pid.oldbin. > > > > > > Is it the right way? Thanks again. > > This should be fine, yes. > > -- > Maxim Dounin > http://nginx.org/ > > _______________________________________________ > nginx-devel mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx-devel >
_______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
