Nginx 재시작(Restart):
sudo systemctl restart nginx
sudo service nginx restart
Nginx 리로드(Reload):
sudo systemctl reload nginx
sudo nginx -s reload
주요 차이점:
대부분의 업데이트에는 리로드를 사용해 다운타임을 피하고, 재시작은 꼭 필요한 경우에만 사용하세요. 변경 전 항상 sudo nginx -t로 설정을 테스트하세요.
sudo nginx -t
Nginx Restart:
Nginx Reload:
Key Difference:
Choose reload for most updates to avoid downtime, unless a restart is explicitly needed. Always test config with sudo nginx -t before applying changes.