Welcome! Log In Create A New Profile

Advanced

[Arch User] Change document and problems with permission.

March 29, 2014 11:45PM
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?
Subject Author Posted

[Arch User] Change document and problems with permission.

sellOfDrops March 29, 2014 11:45PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready