126 reputation
2
bio website
location England
age 26
visits member for 2 years
seen Jul 21 at 8:31

Jan
19
comment Nginx vhost configuration error
You also need to reload nginx, of course.
Jan
18
comment Nginx vhost configuration error
In nginx.conf, there's probably already a line for error_log, followed by a file path - add on the word debug to that directive.
Jan
18
comment Nginx vhost configuration error
What happens if you set the log level to debug and log it then?
Jan
18
comment Nginx vhost configuration error
Out of interest, why are you duplicating the blocks for the www. subdomain? You can just do server_name www.domain.com domain.com; if the rest of the block is identical. For your actual 301 issue, what does /var/log/nginx.log say about the requests?
Jan
17
awarded  Teacher
Jan
16
answered is webmail db acessable through ftp
Jan
8
awarded  Supporter