Hello
Sorry for my bad english
I try to configure my first nginx server and php on ubuntu.
I install nginx and i succeed to go to the default nginx index page.
i copy my site folder to /home/data/var/www/html
I change the default file in /etc/nginx/sites-available like this
------------------------------------------------
server {
listen 80 default_server;
listen [::]:80 default_server;
root /home/data/var/www/html;
index index.php index.html index.htm;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location ~\.php${
include snipperts/fastcgi-php.conf ;
fastcgi_pass unix:/run/php7.0-fpm.sock ;
}
}
--------------------------------------------------------------------
But i can't to go my index page. The default nginx page is always show.
What can i do?
Thanks
Stef