This configuration uses /kirby as the URL root and /var/www/addons88/ as the file system web root and needs to be adapted, because your site is not installed in the subdirectory /kirby but /.
If that doesn’t work, please use the official example configuration I linked to above, third-party solutions aren’t officially supported.
@puleddu Yea I fixed this issue, it was a problem from my side with my NGINX config, if I remember well. This is my updated file (sites-available). I forgot to set the root location of the server.
server {
listen 80;
server_name pme.dev;
#access_log /Users/martinrisseeuw/Documents/Projects/platform_maker_educatie/code/pme.dev.access.log;
#error_log /Users/martinrisseeuw/Documents/Projects/platform_maker_educatie/code/pme.dev.error.log;
root /Users/martinrisseeuw/Documents/Projects/platform_maker_educatie/code;
index index.php index.html index.htm;
# Don't hint these as folders
rewrite ^/(content|site|kirby)$ /error last;
# block content
rewrite ^/content/(.*).(txt|md|mdown)$ /error last;
# block all files in the site and kirby folder from being accessed directly
rewrite ^/(site|kirby)/(.*)$ /error last;
location / {
root /Users/martinrisseeuw/Documents/Projects/platform_maker_educatie/code;
try_files $uri $uri/ /index.php;
index index.php;
}
location /panel {
try_files $uri $uri/ /panel/index.php?$uri&$args;
}
location ~ /\.ht {
deny all;
}
# Specify a charset
charset utf-8;
location ~ \.php$ {
root /Users/martinrisseeuw/Documents/Projects/platform_maker_educatie/code;
try_files $uri $uri/ /index.php?$args;
index index.html index.htm index.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_intercept_errors on;
include fastcgi_params;
}
}