Я хочу, чтобы мой nginx отправлял файлы на сервер из моей домашней директории, но ошибка 403 по-прежнему запрещена.
nginx.conf
user http;
worker_processes  2;
error_log  logs/error.log;
error_log  logs/error.log  notice;
error_log  logs/error.log  info;
#pid        logs/nginx.pid;
events {
    worker_connections  1024;
}
http {
include       mime.types;
default_type  application/octet-stream;
sendfile        on;
keepalive_timeout  65;
#gzip  on;
server {
    listen       80;
    server_name  localhost;
    #server_name_in_redirect off;
    root   /home/txx/http/www;
    location / {
        index  index.php index.html index.htm;
    }
    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_pass unix:/var/run/php56-fpm/php-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
    }
}
У меня есть каталог /home /user /http /www и все подпапки, настроенные на 775 с, и все принадлежат группе http.
drwxrwxr-x 10 txx http 4096 20.04.2017 19:28 www/
Я запускаю 'chmod 755 -R www/*' 'chmod 775 -R www'
О чем это может быть?
