Corrected systemctl command

This commit is contained in:
Anon 2023-05-19 15:58:37 -07:00
parent 57a17582be
commit febac5c7d5

View File

@ -48,7 +48,7 @@ Edit `/etc/nginx/nginx.conf` and make sure you append the below line at the end
include sites-enabled/*;
```
When done, run `nginx -t` as root to make sure the configuration is good, and then start nginx `systemctl start --now nginx.service` or restart if it's already running `systemctl restart nginx.service`
When done, run `nginx -t` as root to make sure the configuration is good, and then start nginx `systemctl enable --now nginx.service` or restart if it's already running `systemctl restart nginx.service`
Visit your website in a browser to make sure everything is working correctly.