[轉]How do i restart nginx only after the config test
nginx -t
after the test ran successful, I can restart the service/etc/init.d/nginx restart
or only reload the nignx site configs without a restartnginx -s reload
nginx -t
after the test ran successful, I can restart the service/etc/init.d/nginx restart
or only reload the nignx site configs without a restartnginx -s reload