Format README, Add Verify Config & Restart Nginx Command.
This commit is contained in:
parent
03dc5e07e6
commit
fc53165d01
|
@ -1,7 +1,7 @@
|
||||||
# [Nginx Server Configs](https://github.com/h5bp/server-configs-nginx)
|
# [Nginx Server Configs](https://github.com/h5bp/server-configs-nginx)
|
||||||
|
|
||||||
**Nginx Server Configs** is a collection of configuration snippets that can
|
**Nginx Server Configs** is a collection of configuration snippets that can help
|
||||||
help your server improve the web site's performance and security, while also
|
your server improve the web site's performance and security, while also
|
||||||
ensuring that resources are served with the correct content-type and are
|
ensuring that resources are served with the correct content-type and are
|
||||||
accessible, if needed, even cross-domain.
|
accessible, if needed, even cross-domain.
|
||||||
|
|
||||||
|
|
|
@ -67,3 +67,8 @@ Activate the new site by linking `yourdomainname.com` into the `sites-enabled` d
|
||||||
This will make the server active the next time nginx (re)starts.
|
This will make the server active the next time nginx (re)starts.
|
||||||
|
|
||||||
## Verify config and restart nginx
|
## Verify config and restart nginx
|
||||||
|
Verify the config and restart nginx to apply the changes.
|
||||||
|
|
||||||
|
nginx -tt && service nginx restart
|
||||||
|
|
||||||
|
This will verify the config and on successful verification it'll restart the nginx, otherwise throws error and stops from restarting nginx.
|
Loading…
Reference in New Issue