Concrete 8.1 / PHP 7 / Nginx = Edit Block /ccm/* ACCESS DENIED

Permalink
I receive "An unexpected error occurred.: ACCESS DENIED" errors (formatted) when editing or adding a block, which the error is due to /ccm/system/dialogs/block/edit not loading.

The user is uID=1 / admin and in the Administrator group.

Cache is cleared, logged out logged in. Public site works fine.

Nginx:
server {
   listen 80 default_server;
   listen [::]:80 default_server;
   # SSL configuration
   #
   # listen 443 ssl default_server;
   # listen [::]:443 ssl default_server;
   #
   # Note: You should disable gzip for SSL traffic.
   # See:http://bugs.debian.org/773332
   #
   # Read up on ssl_ciphers to ensure a secure configuration.
   # See:http://bugs.debian.org/765782
   #
   # Self signed certs generated by the ssl-cert package


Any thoughts?

 
adcoment replied on at Permalink Reply
UPDATE: I can get it working with apache2 with libapache2-mod-php7.0, but not with apache2 + php7.0-fpm, or nginx php7.0-fpm
dndam replied on at Permalink Reply
Have a look at the below configuration. It has been used for Debian 8, NGinx with PHP-FPM 7.1
For me the issues were related with "Access denied" on dashboard and several editing blocks that were not working anymore (development has been carried on a Apache 2.4 with PHP 5.6, using mod-apache)

Focus was creating a working "location /"
try_files $uri $uri/ /index.php?q=$uri&$args;

server {
       listen 80;
       server_name www.example.com;
       root /var/www/example.com/www;
       index index.php index.html index.htm default.html default.htm;
        add_header Access-Control-Allow-Origin *;
        #add_header X-Frame-Options "ALLOWALL";
       location = /favicon.ico {
                log_not_found off;
                access_log off;
       }
       location = /robots.txt {
                allow all;
                log_not_found off;
                access_log off;
rugland replied on at Permalink Reply
Have been struggeling with this error for days now and finally found this post. Thank you for posting the solution works like a charm.