From dc91fd4862dc594e5eb32f411900eacb84c15b09 Mon Sep 17 00:00:00 2001 From: Alessandro Vendruscolo Date: Sun, 15 Jul 2012 23:27:56 +0200 Subject: [PATCH] Encourage users to use multiple virtual hosts --- nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b80078f..db46615 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -81,6 +81,12 @@ http { gzip_disable "MSIE [1-6]\."; gzip_vary on; + # If you use virtual hosts, include them. + # include sites-enabled/*; + + # You should use virtual hosts and move these `server` blocks in their own + # file inside a `sites-available` folder. Then symink back to `sites-enabled` + # to activate. server { # listen 80 default_server deferred; # for Linux # listen 80 default_server accept_filter=httpready; # for FreeBSD