MODX - Errors in logs
Posted: Mon Nov 23, 2015 9:17 pm
Site was started and worked perfect, but some errors in the logs, by the way - in web template misses CMS MODx profile
I've added addition include conf:
Website errors logs:
I've added addition include conf:
Code: Select all
location /manager {
}
location /assets {
}
location / {
try_files $uri $uri/ @rewrite;
}
location @rewrite {
rewrite ^/(.*)$ /index.php?q=$1;
}
location ~ \.php$ {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9001;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|bmp)$ {
access_log off;
expires 10d;
break;
}
location ~ /\.ht {
deny all;
}
Code: Select all
FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): open(/var/lib/php5/sessions/sess_r1t00hqhrf7dnf2uia52dlj1n4, O_RDWR) failed: Permission denied (13) in /home/sr/web/domain.lt/public_html/manager/includes/config.inc.php on line 87" while reading response header from upstream, client: 8.8.8.8, server: domain.lt, request: "GET /lt/index.html HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "domain.lt"