ok it's all ok.
now I need to change my root directory for my web proj.
infact this is part of my /etc/nginx/sites-enabled/default file
server {
listen 80;
listen [::]:80 default_server ipv6only=on;
#root /usr/share/nginx/html;
root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/html;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name _;
...ecc
with root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/html;
it does'nt work!
but if I set root /usr/share/nginx/html;
it works. The two directory are equals.
why it?
thanks, bye.
now I need to change my root directory for my web proj.
infact this is part of my /etc/nginx/sites-enabled/default file
server {
listen 80;
listen [::]:80 default_server ipv6only=on;
#root /usr/share/nginx/html;
root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/html;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name _;
...ecc
with root /home/ottaviane/Sviluppo/Progetti/HTML-PHP/html;
it does'nt work!
but if I set root /usr/share/nginx/html;
it works. The two directory are equals.
why it?
thanks, bye.