Hello i’m trying to install Ninja with IRedMail when trying to go to the website for Ninja I get 403 error, it uses templates on nginx I never used them before and don’t know how to configure it to get it working… Could someone help me
atm trying to do it with
ninja.tmpl
inside
location / {
root /var/www/ninja/invoiceninja/public/;
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_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
but I get file not found
Does this folder exist?
/var/www/ninja/invoiceninja/public/
yes
Sorry, I’m not sure