nginx – can`t load front page only
-
Hi!
I have just installed wp latest on ubuntu16 + nginx + php7.0-fpm and all works, but front page, so when i enter example.com – index.php just download, but when i enter example.com/home for example – all works. At the same time if i choose front page as page “home”, i download example.com/home, not open. So i think, that rewrite rule is not correct, but i can`t find solution at google. PLEASE, help!))section at site.conf
` location ~ \.php$ {
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
}`
- The topic ‘nginx – can`t load front page only’ is closed to new replies.