There is a user named worker in centos, so configure it in the configuration of nginx.conf
user worker;
server{
location: /static/{
root /home/worker;
}
}
But after running, accessing 127.0.0.1/static/test.html still reports permission issues
2015/02/19 01:45:42 [error] 3634#0: *open()"/home/worker/static/test.html" failed (13: Permission denied),
How should nginx be configured