Answer the question
In order to leave comments, you need to log in
Error 404 after installing Drupal 8 on nginx - what is the reason?
After installing Drupal 8, instead of the main page of the site, a 404 error is displayed. I use an nginx server with php-fastcgi
. I wrote rewrites in the config:
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri /index.php?$request_uri $uri/ =404; # For Drupal >= 7
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question