correct syntax error

This commit is contained in:
Andy Dawson 2012-07-23 11:02:10 +03:00
parent 54343772c5
commit 1ca5c8ab33
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ server {
# don't forget to tell on which port this server listens
listen 80;
# listen on the www host
server_name www.example.com
server_name www.example.com;
# and redirect to the non-www host (declared below)
return 301 $scheme://example.com$request_uri;
}