Hello!
I’m trying to install Invoice Ninja on Ubuntu Server 17.10 with this guide:
I have done exactly as the guide says (I think so, invoiceninja.conf is the one that I’m not sure if it’s like it should be), but when I try to go to the page I get only the nginx default welcome page.
I have tried to go to x.x.x.x/invoiceninja I get a 403 permission denied page.
Here is my invoiceninja.conf if there is something wrong with it.
server {
listen 80;
listen [::]:80;
root /var/www/html/invoiceninja/public;
index index.php index.html index.htm;
server_name 192.168.1.110;
client_max_body_size 100M;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; # for Ubuntu 17.10
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}