Improve READMEs

This commit is contained in:
Alessandro Vendruscolo 2012-07-23 12:53:17 +02:00
parent 9971b604ea
commit 61e10781f0
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,11 @@
Sites Available
---------------
Define host definitions here
Define host definitions here.
It'd be a good thing if you keep your hosts indexed by domain name, eg:
```example.com (handles traffic from both www.example.com and exapmple.com)
foobar.com (as above)
test.foobar.com (handles traffix from both www.test.foorbar.com and test.foobar.com)
```

View File

@ -3,3 +3,10 @@ Sites Enabled
Symlink to `../sites-available/` for any site you want to enable. Conversely, remove the symlink
in this folder to disable a site without permanently deleting the site's configuration.
E.g. (we suppose your nginx configuration files are stored in `/etc/nginx`)
```sh
$ pwd
--> /etc/nginx
# ln -s /etc/nginx/sites-available/example.com sites-enabled/example.com
```