Problem with Kirby and Nginx with PHP 7

Hey guys,

first of all, i’m new to nginx and i really don’t know that much.
I created a new VPS at netcube with Ubuntu 16.04, nginx and PHP 7.0.8.

Everything with Kirby is working fine, except i can’t open the Options page in the panel.
All other sites/pages/subpages are working fine.

Here is my kirby related config for nginx:

location / {
   if (!-e $request_filename) {
      rewrite ^/(.*)$ /index.php last;
      break;
   }
}

location ~ \.php$ {
	include snippets/fastcgi-php.conf;
	fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}

# Kirby Start
location ~ ^/content/(.*).(txt|md|mdown)$ {
	rewrite ^/content/(.*).(txt|md|mdown)$ /error redirect;
 }

location ~ ^/site/(.*)$ {
	rewrite ^/site/(.*)$ /error redirect;
}

location /panel {
	try_files $uri $uri/ /panel/index.php?$uri&&$args;
}

location ~ /\.ht {
	deny all;
}
# Kirby End

I really don’t know what i can do.

You can close this thread, it was a Google Chrome related bug.
All i had to do was clearing the cache.

1 Like