I've downloaded Magento 2 and try to setup but getting blank page.
When I have checked nginx
log file and I found below the log.
FastCGI sent in stderr: "Access to the script
'/var/www/html/magento2/demo/setup/index.php/navigation' has been
denied (see security.limit_extensions)" while reading response header
from upstream, client: 127.0.0.1, server: 224.example.com, request:
"GET /setup/index.php/navigation HTTP/1.1", upstream:
"fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "224.example.com",
referrer: "http://224.example.com/setup/"; 2018/05/23 16:58:47
[error] 18961#18961: 319 FastCGI sent in stderr: "Access to the script
'/var/www/html/magento2/demo/setup/index.php/navigation/side-menu' has
been denied (see security.limit_extensions)" while reading response
header from upstream, client: 127.0.0.1, server: 224.example.com,
request: "GET /setup/index.php/navigation/side-menu HTTP/1.1",
upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host:
"224.example.com", referrer: "http://224.example.com/setup/";
2018/05/23 16:58:47 [error] 18959#18959: *377 FastCGI sent in stderr:
"Access to the script
'/var/www/html/magento2/demo/setup/index.php/navigation/header-bar'
has been denied (see security.limit_extensions)" while reading
response header from upstream, client: 127.0.0.1, server:
224.example.com, request: "GET /setup/index.php/navigation/header-bar HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host:
"224.example.com", referrer: "http://224.example.com/setup/";
If anyone faces the same issue then help me.
Best Answer
Solved:
Changed nginx.conf.sample setup location block to:
Default Magento nginx.conf.sample file need to replace.
Replace with:
Found solution from git