Hello, I would like to set nginx to use several website, and that they are reachable for some of them with a domain name or in localhost.
Example: Site1: only accessible on localhost with 192.168.x.x/site1 (root: /var/www/site1) Site2: accessible accessible on site2.eu domain and also on localhost with 192.168.x.x/site2 (root: /var/www/site2) Site3: accessible on the subdomain sub.site2.eu and also on localhost with 192.168.x.x/subsite2 (root: /var/www/subsite2) I have set two sites (site2 and site3) on my configuration and reachable with domain and subdomain. But i can't reach them locallly with the ipaddress/nameofsite. I have only one site accessible directly under my local ip address. So, currently i have: Site2 (var/www/site2: reachable with his domain site2.eu or www.site2.eu and also on the local ip 192.168.x.x SIte3 (var/www/site3: reachable with the domain sub.site2.eu. Otherwise i can't reach him locally. I would like to reach him with 192.168.x.x/site3 Thanks for your help. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239147,239147#msg-239147 _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
