Hestiacp + Batflat CMS

Hello,
It cannot cope with the template for Batflat cms.
Can anyone help.
My settings:
nginx + php-fpm
Description of the installation on nginx:

Greetings,
Zbigniew

https://docs.hestiacp.com/admin_docs/web.html#how-do-web-templates-work

Should contain more information how templates work

I made a template for bludit - bludit.com
nginx + php-fpm
It works very well
BatFlat still fails to do - confused.
I am providing a template for bludit.
Link: https://12z.eu/bludit_hestia.zip
Greetings,
Zbigniew

It tests and I still don’t know how to set it up.
Maybe someone good will check and describe how to set it.
Thanks in advance.

How to adapt to Hestia.
Download Batflat Latest Release

cd /tmp
wget https://github.com/sruupl/batflat/archive/master.zip
unzip master.zip
sudo mv batflat-master /var/www/html/batflat
sudo chown -R www-data:www-data /var/www/html/batflat/
sudo chmod -R 755 /var/www/html/batflat/

Configure Nginx Batflat Site

    listen 80;
    listen [::]:80;
    root /var/www/html/batflat;
    index  index.php index.html index.htm;
    server_name  example.com www.example.com;

     client_max_body_size 100M;

     autoindex off;

     location / {
       try_files $uri $uri/ @handler;
         }

     location  /admin {
        try_files $uri $uri/ /admin/index.php?$args;
        }
    
    location @handler {
        if (!-e $request_filename) { rewrite / /index.php last; }
        rewrite ^(.*.php)/ $1 last;
        }

    location ~ \.php$ {
         include snippets/fastcgi-php.conf;
         fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
     }
}

How to adapt to the nginx-phpfpm Hestia template.
Any help is greatly appreciated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.