FreeBSD - reload nginx configuration
test the config !!!
sudo nginx -t
output :
2009/04/23 09:11:46 [info] 46329#0: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
2009/04/23 09:11:46 [info] 46329#0: the configuration file /usr/local/etc/nginx/nginx.conf was tested successfully
then reload :
sudo kill -HUP
cat /var/run/nginx.pid