nginx rewrite code example Example 1: reload nginx sudo systemctl reload nginx Example 2: nginx reload config sudo service nginx reload