Pardon my ignorance but would this work if Nginx is residing on a different machine than the web-servers. I am using it as a proxy for two Windows web-servers.<br>My impression is that this will only work if Nginx is residing on the same machine as the webservers, but I could be obviously wrong.<br>
Thanks<br><br><div class="gmail_quote">On Tue, Nov 25, 2008 at 1:30 PM, Jim Ohlstein <span dir="ltr">&lt;<a href="mailto:jim.ohlstein@gmail.com">jim.ohlstein@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you only have the one domain, a simple way would be to delete
or rename the nginx/html directory and then create a symbolic link to nginx/html
from your doc root.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"># mv &nbsp;/path/to/nginx/html /path/to/nginx/html.bak</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"># ln -s /path/to/doc/root /path/to/nginx/html</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:owner-nginx@sysoev.ru" target="_blank">owner-nginx@sysoev.ru</a> [mailto:<a href="mailto:owner-nginx@sysoev.ru" target="_blank">owner-nginx@sysoev.ru</a>] <b>On Behalf Of </b>Swanilda
Suarez<br>
<b>Sent:</b> Tuesday, November 25, 2008 2:17 PM<br>
<b>To:</b> <a href="mailto:nginx@sysoev.ru" target="_blank">nginx@sysoev.ru</a><br>
<b>Subject:</b> Welcome to Nginx message</span></p>

</div><div class="Ih2E3d">

<p>&nbsp;</p>

<p style="margin-bottom: 12pt;">I have installed nginx, but I
was wondering what do I need to do in order to be able to type the ip address
and instead of getting the welcome screen, have my webpage come up.<br>
In other words every time I type xx.xx.xx.xx I get &quot;Welcome to Nginx&quot;
but I want to go to my url now. It works fine if I type the domain name but not
the ip</p>

</div></div>

</div>


</blockquote></div><br>