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

Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2 possible?

$
0
0
Sure, for each named site create a location block;

location /path1 {
root /etc/path1;
.......
}

location /path2 {
root /etc/path2;
.......
}

http://nginx.org/en/docs/http/ngx_http_core_module.html#location

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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