nginxÆô¶¯ÏÂÁîºÍ×èÖ¹ÏÂÁîÊÇʲô
nginx µÄÆô¶¯ºÍ×èÖ¹ÏÂÁî»®·ÖΪ nginx ºÍ nginx -s quit¡£Æô¶¯ÏÂÁîÖ±½ÓÆô¶¯Ð§ÀÍÆ÷£¬¶ø×èÖ¹ÏÂÁîÓÅÑŵعرÕЧÀÍÆ÷£¬ÔÊÐíËùÓÐÄ¿½ñÇëÇó´¦ÀíÍê±Ï¡£ÆäËû¿ÉÓÃ×èÖ¹ÐźŰüÀ¨ stop ºÍ reload¡£
Nginx µÄÆô¶¯ºÍ×èÖ¹ÏÂÁî
Æô¶¯ÏÂÁ
nginx
µÇ¼ºó¸´ÖÆ
×èÖ¹ÏÂÁ
nginx -s quit
µÇ¼ºó¸´ÖÆ
Ïêϸ˵Ã÷£º
Æô¶¯ÏÂÁ
Ö»ÐèʹÓà nginx ÏÂÁî¼´¿ÉÆô¶¯ Nginx ЧÀÍÆ÷¡£
¸ÃÏÂÁ¼ÓÔØÉèÖÃÎļþ²¢Æô¶¯¼àÌý¶Ë¿Ú¡£
ÈôÊÇûÓÐÖ¸¶¨ÉèÖÃÎļþλÖ㬽«Ê¹ÓÃĬÈÏÉèÖÃÎļþ /etc/nginx/nginx.conf¡£
×èÖ¹ÏÂÁ
ʹÓà nginx -s quit Çå¾²µØ×èÖ¹ Nginx ЧÀÍÆ÷¡£
-s Ñ¡ÏîÖ¸¶¨Ïò Nginx Àú³Ì·¢Ë͵ÄÐźš£
quit ÐźŻáÓÅÑŵعرÕЧÀÍÆ÷£¬ÔÊÐíËùÓÐÄ¿½ñÇëÇó´¦ÀíÍê±Ï¡£
ÆäËû¿ÉÓÃÐźŰüÀ¨£º
stop: ×èֹЧÀÍÆ÷£¬¹Ø±ÕËùÓмàÌý¶Ë¿Úµ«²»»á¹Ø±ÕÒѽ¨ÉèµÄÅþÁ¬¡£
reload: ÖØмÓÔØÉèÖÃÎļþ£¬±£´æÏÖÓÐÅþÁ¬¡£
ÒÔÉϾÍÊÇnginxÆô¶¯ÏÂÁîºÍ×èÖ¹ÏÂÁîÊÇʲôµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡