vnesnasnow
Новичок
В общем решил проблема такая просто не хочет грузится сайт, вот что выдает в логах
вот настройки sites-available
Подскажите куда рыть то хотяб уже весь гугл прерыл. Спасибо.
с чем это может быть связанно мне почему то кажется что проблема в вдс.2020/12/21 05:04:25 [error] 9391#9391: *62 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/html/public/../vendor/autoload.php): failed to open stream: Permission denied in /var/www/html/public/index.php on line 24
PHP message: PHP Fatal error: require(): Failed opening required '/var/www/html/public/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/public/index.php on line 24" while reading response header from upstream, client: 164.215.89.108, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "185.87.48.106"
вот настройки sites-available
PHP:
server {
listen 80;
listen [::]:80;
root /var/www/html/public;
index index.php index.html index.htm index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_send_timeout 3000;
fastcgi_read_timeout 3000;
}
location ~ /\.ht {
deny all;
}
}