Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: How to host multiple sites locally at different addresses

$
0
0
It seems pretty clear after looking at a vhost file that what you need to play with is the root directory. Check this: http://nginx.org/en/docs/beginners_guide.html

location / {
root /data/www;
}

that should et you started.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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