cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 setup page empty.

Magento 2 setup page empty.

SOLVED

 

Any idea why does it look like this?

nginx version: nginx/1.10.0

PHP 7.0.13-0ubuntu0.16.04.1

MySQL 5.7.16

 

e9a7qyE

1 REPLY

Re: Magento 2 setup page empty.

Fixed it by changing location /setup {} block to this in nginx.conf.sample file:

 

location /setup {
    root $MAGE_ROOT;
    location ~ ^/setup/index.php {

        ### This fixes the problem:
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        ################################

        fastcgi_pass   fastcgi_backend;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

    location ~ ^/setup/(?!pub/). {
        deny all;
    }

    location ~ ^/setup/pub/ {
        add_header X-Frame-Options "SAMEORIGIN";
    }
}