EugeneLobach
@EugeneLobach
Web разработчик

Почему задеплоенный проект Laravel не работает?

Здравствуйте, хочу задеплоить проект Laravel на VPS С nginx, но сайт ничего не отображает, хоть ошибки и нет, что делать?
Вот ссылка на код проекта.
Вот
server {
    server_name testsiteess.ru  ;
    listen <IP>:80;
    listen <IP>:443 ssl ;

    ssl_certificate "/var/www/httpd-cert/testsiteess.ru_2022-11-24-19-45_30.crt";
    ssl_certificate_key "/var/www/httpd-cert/testsiteess.ru_2022-11-24-19-45_30.key";

    charset utf-8;

    gzip on;
    gzip_proxied expired no-cache no-store private auth;
    gzip_types text/css text/xml application/javascript text/plain application/json image/svg+xml image/x-icon;
    gzip_comp_level 1;
    set $root_path /var/www/fastuser/data/www/testsiteess.ru/public;
    index index.php index.html index.htm index.nginx-debian.html;

    root $root_path;
    disable_symlinks if_not_owner from=$root_path;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
    }

    location ~ /\.ht {
        deny all;
    }

    include "/etc/nginx/fastpanel2-sites/fastuser/testsiteess.ru.includes";
    include /etc/nginx/fastpanel2-includes/*.conf;


    error_log /var/www/fastuser/data/logs/testsiteess.ru-frontend.error.log;
    access_log /var/www/fastuser/data/logs/testsiteess.ru-frontend.access.log;
}
  • Вопрос задан
  • 144 просмотра
Решения вопроса 1
@lil_koi
лучший из худших
проверь log ларавеля, если там пусто, то лог nginx
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы