[Arch User] Change document and problems with permission.

sellOfDrops nginx-forum at nginx.us
Sun Mar 30 03:45:05 UTC 2014


Hi,

I'm trying use nginx in my home folder. What I have to do? Look at my files,
please:

/etc/nginx/nginx.conf
http://p.ngx.cc/94

/etc/php/php-fpm.conf
http://p.ngx.cc/1e3b

I type:
"code
setfacl -m u:http:x /home/myuser
setfacl -m u:http:x /home/myuser/workspace
setfacl -m u:http:rwx /home/myuser/workspace/php
"

That configuration works. But I have problems with write permissions.
Scripts broke. I don't want give chmod 777 on all files. I want to know the
best way, the nginx right way to change the document root.

I use nginx, php-fpm and mysql.

Can you help me?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248847,248847#msg-248847



More information about the nginx mailing list