Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Getting started (no replies)

$
0
0
I edited the config file as follows:

http {
server {
location / {
root /www;
}
}
....
}

I then reloaded the config file with sudo nginx -s reload. I created a test
file at /www/index.html then when I tried to load the page in my browser I
still got the default Welcome to nginx! page.

What am I doing wrong?

I also tried editing the page at /usr/share/nginx/html/index.html None of
my edits seem to have any effect. When I tried to load the page in my
browser I still got the default Welcome to nginx! page.

What's going on?

thanks,
James
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>