correct syntax error
This commit is contained in:
parent
54343772c5
commit
1ca5c8ab33
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue