Hi there,
I am trying to host a Kirby site on my Raspberry and was following the recipe on setting up nginx.
I created the kirby.conf file as described and adjusted the three lines that needed adjustment to what I believe should be the correct changes (but I’m not sure). I can restart nginx without any error now, but when I try to open my page over the IP (where I could open a simple html page before I created the kirby.conf file) I get an error:

My conf file looks pretty much like the boilerplate:
server {
  # listen 8080; # Can be omitted if Nginx runs on Port 80
  index index.php index.html;
  server_name localhost; # Adjust to your domain setup
  root /var/www/html; # Adjust to your setup
  location / {
    try_files $uri $uri/ /index.php$is_args$args;
  }
  location ~* \.php$ {
    try_files $uri =404;
    fastcgi_pass localhost:9000; # Adjust to your setup
    include fastcgi.conf;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    # fastcgi_param SERVER_PORT 8080; # Only needed if external port is different from the listen port
  }
}
The starterkit is placed into /var/www/html (that’s where the index.php is).
Does anyone know what might be wrong or how I could debug this? That would be great!
Thanks a lot!




