Not reloading?

175 views
Skip to first unread message

AL.

unread,
Apr 21, 2013, 2:57:01 AM4/21/13
to openre...@googlegroups.com
Following the tutorials in:

When making changes to the nginx.conf, how do I test the new url? Do I need to shutdown nginx or a command to automatically reload?

Lance

unread,
Apr 21, 2013, 3:26:53 AM4/21/13
to openre...@googlegroups.com
do u mean
/usr/local/openresty/nginx/sbin/nginx -s reload     
?

Lance


--
You received this message because you are subscribed to the Google Groups "openresty-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openresty-en...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

AL.

unread,
Apr 22, 2013, 4:21:21 AM4/22/13
to openre...@googlegroups.com
That work, and wonder what is the correct way to make changes to LUA file which going to be used for page rendering, without having to reload Nginx conf all the time?

Lance

unread,
Apr 22, 2013, 6:11:08 AM4/22/13
to openre...@googlegroups.com
u can set lua_code_cache off when debugging, but not recommend for product use.
http://wiki.nginx.org/HttpLuaModule#lua_code_cache

Lance


--
Reply all
Reply to author
Forward
0 new messages