From fc53165d01292be744e2449fdaea049338e7989c Mon Sep 17 00:00:00 2001 From: "Syed I.R" Date: Mon, 23 Jun 2014 00:13:43 +0530 Subject: [PATCH] Format README, Add Verify Config & Restart Nginx Command. --- README.md | 4 ++-- doc/getting-started.md | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3541bf..23c770d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # [Nginx Server Configs](https://github.com/h5bp/server-configs-nginx) -**Nginx Server Configs** is a collection of configuration snippets that can -help your server improve the web site's performance and security, while also +**Nginx Server Configs** is a collection of configuration snippets that can help +your server improve the web site's performance and security, while also ensuring that resources are served with the correct content-type and are accessible, if needed, even cross-domain. diff --git a/doc/getting-started.md b/doc/getting-started.md index d9f9b9e..1c7d412 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -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. ## 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. \ No newline at end of file