2017/06/18 02:48:06 [error] 25712#25712: *83 open() "/home/www/torrentpier/50x.html" failed (2: No such file or directory), c
lient: 1.1.1.1, server: 2.2.2.2, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.socke
t", host: "2.2.2.2"
да.Ну как минимум у вас 404 из-за того что прописаны страницы для ошибок в конфигурации nginx которых фактически нет.
непосредственное - генерит 500 ошибку.Движок тут отношение имеет посредственное.
интересно увидеть конфиги php/nginxу меня на 2.1.5 и 2.2.1 nginx+php-fpm и таких проблем нет.
где?надо смотреть в логи движка
в internal_data/cache и internal_data/cache/filecache файлы создаются. будучи удалёнными пересоздаются. кстати, include_path туда должен смотреть?, но вероятнее всего нет прав на запись в кеш из-за того что права на файлы принадлежат не пользователю, от чьего имени работает сервер.
Тут демка на аналогичной конфигурации и аналогично без проблем. Вам написали возможную причину. Других ошибок зарегистрировано не было ни от кого.интересно увидеть конфиги php/nginx
#user 'torrentpier' virtual host 'demo.torrentpier.com' configuration file
server {
server_name demo.torrentpier.com;
listen 46.101.205.101:80;
listen [2a03:b0c0:3:d0::10c:1]:80;
return 301 https://$host$request_uri;
}
server {
server_name demo.torrentpier.com;
listen 46.101.205.101:443 ssl http2;
listen [2a03:b0c0:3:d0::10c:1]:443 ssl http2;
charset UTF-8;
disable_symlinks if_not_owner from=$root_path;
gzip on;
gzip_comp_level 5;
index index.html index.php;
root $root_path;
set $root_path /var/www/torrentpier/data/www/demo.torrentpier.com;
ssi on;
access_log /var/www/httpd-logs/demo.torrentpier.com.access.log;
error_log /var/www/httpd-logs/demo.torrentpier.com.error.log notice;
include /etc/nginx/vhosts-includes/*.conf;
include /etc/nginx/vhosts-resources/demo.torrentpier.com/*.conf;
# Let's Encrypt
include /etc/nginx/snippets/ssl-demo.torrentpier.com.conf;
include /etc/nginx/snippets/ssl-params.conf;
location / {
location ~ [^/]\.ph(p\d*|tml)$ {
try_files /does_not_exists @php;
}
}
location @php {
fastcgi_index index.php;
fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f [email protected]";
fastcgi_pass unix:/var/www/php-fpm/torrentpier-7.1.sock;
fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
try_files $uri =404;
include fastcgi_params;
}
}