It works!

Yeah, I'm running on Pagekit now. It's a temporary solution and I will migrate back to Hades when it's finished, but right now Pagekit will do nicely. In case your looking for fast and simple CMS, look no further. It has everything you need to set up a simple website in minutes.

But there is a small drawback - if you're one of us who left Apache in favor of Nginx, you might find it a bit harder to make it work. I've found dozens of posts about setting up Pagekit to work right on Nginx. It's even in the Pagekit wiki and yet people are struggling with making it work. So, here's the config that works for me...

server {
  root /path/to/your/webroot;
  index pagekit.php;
  error_log /path/to/your/webroot/error.log;
  access_log off;

  location ~ (config.php|app) {
    deny all;

  location ~ \.(cache|db|log|po|pot|sql|razr)$ {
    deny all;

  location / {
    try_files $uri $uri/ /pagekit.php?$args;

  location ~ \.php$ {
    include php.conf;

PHP config php.conf for Nginx is pretty simple...

include fastcgi_params;
fastcgi_index index.php;

...and the only thing I've changed in fastcgi_params

fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;

That's it ;)