debian restart nginx service code example Example 1: how to start nginx in linux sudo systemctl restart nginx Example 2: restart nginx sudo systemctl reload nginx