<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    what does noit work exactly. As I can see there may be a
    fastcgi_pass missing to handle php (ex /phpmyadmin) and maybe index
    documents need to be set.<br>
    <br>
    Greets<br>
    Pascal<br>
    <br>
    Am 04.03.2011 08:06, schrieb Alex H:
    <blockquote cite="mid:BAY141-W7826C8EE68CB510168A6BF9C20@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <font class="Apple-style-span" size="2" face="Tahoma">It just
        doesn't work, here's my .conf:</font>
      <div style="font-family: Tahoma; font-size: 10pt;"><br>
      </div>
      <div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">user
            www-data;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">worker_processes
            &nbsp;4;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">error_log
            &nbsp;/var/log/nginx/error.log;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">pid &nbsp;
            &nbsp; &nbsp; &nbsp;/var/run/nginx.pid;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">events
            {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;worker_connections &nbsp;1024;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;#
            multi_accept on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">}</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">http
            {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;include &nbsp; &nbsp; &nbsp; /etc/nginx/mime.types;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;server {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp;location /phpmyadmin/ {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root &nbsp;/usr/share/phpmyadmin;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp;}</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp;location /apiadmin/ {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root &nbsp;/var/www/api/src/frapi/admin/public;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp;}</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp; &nbsp;}</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;access_log &nbsp;/var/log/nginx/access.log;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;sendfile &nbsp; &nbsp; &nbsp; &nbsp;on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;#tcp_nopush &nbsp; &nbsp; on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;#keepalive_timeout &nbsp;0;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;keepalive_timeout &nbsp;65;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;tcp_nodelay &nbsp; &nbsp; &nbsp; &nbsp;on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;gzip &nbsp;on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;gzip_disable "MSIE [1-6]\.(?!.*SV1)";</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;include /etc/nginx/conf.d/*.conf;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">&nbsp;&nbsp;
            &nbsp;include /etc/nginx/sites-enabled/*;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">}</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">#
            mail {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            # See sample authentication script at:</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            #
            <a class="moz-txt-link-freetext" href="http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript">http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript</a></font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">#</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            # auth_http localhost/auth.php;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            # pop3_capabilities "TOP" "USER";</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            # imap_capabilities "IMAP4rev1" "UIDPLUS";</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">#</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            server {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            &nbsp; &nbsp; listen &nbsp; &nbsp; localhost:110;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            &nbsp; &nbsp; protocol &nbsp; pop3;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            &nbsp; &nbsp; proxy &nbsp; &nbsp; &nbsp;on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            }</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma">#</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            server {</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            &nbsp; &nbsp; listen &nbsp; &nbsp; localhost:143;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            &nbsp; &nbsp; protocol &nbsp; imap;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            &nbsp; &nbsp; proxy &nbsp; &nbsp; &nbsp;on;</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># &nbsp; &nbsp;
            }</font></div>
        <div><font class="Apple-style-span" size="2" face="Tahoma"># }</font></div>
        <div style="font-family: Tahoma; font-size: 10pt;"><br>
        </div>
        <br>
        and just for an FYI, in my sites-enabled I have:</div>
      <div><br>
      </div>
      <div>
        <div>server {</div>
        <div><br>
        </div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;listen &nbsp; 80;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;server_name php.example.com;</div>
        <div><br>
        </div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;access_log /var/log/nginx/localhost.access.log;</div>
        <div><br>
        </div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;root &nbsp; /usr/share/phpmyadmin;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;index &nbsp;index.php;</div>
        <div><br>
        </div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location / {</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;try_files $uri $uri/ @phpmyadmin;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div>
        <div><br>
        </div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location @phpmyadmin {</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_pass 127.0.0.1:9000;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param SCRIPT_FILENAME
          /usr/share/phpmyadmin/index.php;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;include /etc/nginx/fastcgi_params;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param SCRIPT_NAME /index.php;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div>
        <div><br>
        </div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;# pass the PHP scripts to FastCGI server listening
          on 127.0.0.1:9000</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;#</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location ~ \.php$ {</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_pass &nbsp; 127.0.0.1:9000;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_index &nbsp;index.php;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fastcgi_param &nbsp;SCRIPT_FILENAME
          &nbsp;/usr/share/phpmyadmin$fastcgi_script_nam &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;include &nbsp; &nbsp; &nbsp; &nbsp;fastcgi_params;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div>
        <div>}</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>this is the virtual host that I want to be accessed via
          xxx.xxx.xxx.xxx/phpmyadmin</div>
        <br>
        <br>
        <br>
        <hr id="stopSpelling" style="font-family: Tahoma; font-size:
          10pt;"><font class="Apple-style-span" size="2" face="Tahoma">From:
          <a class="moz-txt-link-abbreviated" href="mailto:igor@sysoev.ru">igor@sysoev.ru</a></font><br>
        <font class="Apple-style-span" size="2" face="Tahoma">Date: Fri,
          4 Mar 2011 09:35:10 +0300</font><br>
        <font class="Apple-style-span" size="2" face="Tahoma">To:
          <a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a></font><br>
        <font class="Apple-style-span" size="2" face="Tahoma">Subject:
          Re: virtual host in one ip address</font><br>
        <br>
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta name="Generator" content="Microsoft SafeHTML">
        <div style="font-family: Tahoma; font-size: 10pt;">
          <blockquote><span class="ecxApple-style-span"
              style="border-collapse: separate; font-family: Georgia;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; font-size: medium;">
              <div class="ecxhmmessage" style="font-size: 10pt;
                font-family: Tahoma;">
                <div>-conf-path=/etc/nginx/nginx.conf</div>
              </div>
            </span></blockquote>
          <br>
        </div>
        <div style="font-family: Tahoma; font-size: 10pt;"><br>
        </div>
        <div style="font-family: Tahoma; font-size: 10pt;">
          <div>On Mar 4, 2011, at 9:31 , Alex H wrote:</div>
          <br class="ecxApple-interchange-newline">
          <blockquote><span class="ecxApple-style-span"
              style="border-collapse: separate; font-family: Georgia;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; font-size: medium;">
              <div class="ecxhmmessage" style="font-size: 10pt;
                font-family: Tahoma;">
                <div>configure arguments:
                  --conf-path=/etc/nginx/nginx.conf
                  --error-log-path=/var/log/nginx/error.log
                  --pid-path=/var/run/nginx.pid
                  --lock-path=/var/lock/nginx.lock
                  --http-log-path=/var/log/nginx/access.log
                  --http-client-body-temp-path=/var/lib/nginx/body
                  --http-proxy-temp-path=/var/lib/nginx/proxy
                  --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
                  --with-debug --with-http_stub_status_module
                  --with-http_flv_module --with-http_ssl_module
                  --with-http_dav_module --with-http_gzip_static_module
                  --with-http_realip_module --with-mail
                  --with-mail_ssl_module --with-ipv6
                  --add-module=/build/buildd/nginx-0.7.65/modules/nginx-upstream-fair</div>
                <div><br>
                </div>
                <br>
                <br>
                <br>
                <br>
                <br>
                <hr id="ecxstopSpelling">From:<span
                  class="ecxApple-converted-space">&nbsp;</span><a
                  moz-do-not-send="true" href="mailto:igor@sysoev.ru">igor@sysoev.ru</a><br>
                Date: Fri, 4 Mar 2011 09:21:10 +0300<br>
                To:<span class="ecxApple-converted-space">&nbsp;</span><a
                  moz-do-not-send="true" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
                Subject: Re: virtual host in one ip address<br>
                <br>
                <div><br>
                </div>
                What does "nginx -V " show ?<br>
                <div><br>
                  <div>
                    <div>On Mar 4, 2011, at 9:17 , Alex H wrote:</div>
                    <br class="ecxApple-interchange-newline">
                    <blockquote><span class="ecxApple-style-span"
                        style="border-collapse: separate; font-family:
                        Georgia; font-style: normal; font-variant:
                        normal; font-weight: normal; letter-spacing:
                        normal; line-height: normal; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        word-spacing: 0px; font-size: medium;">
                        <div class="ecxhmmessage" style="font-size:
                          10pt; font-family: Tahoma;">Where is this
                          config file that I need to edit?<br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <hr id="ecxstopSpelling">From:<span
                            class="ecxApple-converted-space">&nbsp;</span><a
                            moz-do-not-send="true"
                            href="mailto:igor@sysoev.ru">igor@sysoev.ru</a><br>
                          Date: Fri, 4 Mar 2011 09:15:26 +0300<br>
                          To:<span class="ecxApple-converted-space">&nbsp;</span><a
                            moz-do-not-send="true"
                            href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
                          Subject: Re: virtual host in one ip address<br>
                          <br>
                          <div>
                            <div>On Mar 4, 2011, at 9:10 , Alex H wrote:</div>
                            <br class="ecxApple-interchange-newline">
                            <blockquote><span
                                class="ecxApple-style-span"
                                style="border-collapse: separate;
                                font-family: Georgia; font-style:
                                normal; font-variant: normal;
                                font-weight: normal; letter-spacing:
                                normal; line-height: normal;
                                text-indent: 0px; text-transform: none;
                                white-space: normal; word-spacing: 0px;
                                font-size: medium;">
                                <div class="ecxhmmessage"
                                  style="font-size: 10pt; font-family:
                                  Tahoma;">Is this on the default of the
                                  nginx.conf?<br>
                                </div>
                              </span></blockquote>
                            <div><br>
                            </div>
                            <div>I do not know what do you mean by
                              default. The whole configuration is like</div>
                            <div><br>
                            </div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">http {</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">&nbsp;&nbsp; &nbsp;server {</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location
                                /v_host1/ {</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location
                                /v_host1/ {</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">&nbsp;&nbsp; &nbsp;}</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">}</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'"><br>
                              </font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'">That's all.</font></div>
                            <div><font class="ecxApple-style-span"
                                face="'Courier New'"><br>
                              </font></div>
                            <blockquote><span
                                class="ecxApple-style-span"
                                style="border-collapse: separate;
                                font-family: Georgia; font-style:
                                normal; font-variant: normal;
                                font-weight: normal; letter-spacing:
                                normal; line-height: normal;
                                text-indent: 0px; text-transform: none;
                                white-space: normal; word-spacing: 0px;
                                font-size: medium;">
                                <div class="ecxhmmessage"
                                  style="font-size: 10pt; font-family:
                                  Tahoma;">From:<span
                                    class="ecxApple-converted-space">&nbsp;</span><a
                                    moz-do-not-send="true"
                                    href="mailto:igor@sysoev.ru">igor@sysoev.ru</a><br>
                                  Date: Fri, 4 Mar 2011 09:01:33 +0300<br>
                                  To:<span
                                    class="ecxApple-converted-space">&nbsp;</span><a
                                    moz-do-not-send="true"
                                    href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
                                  Subject: Re: virtual host in one ip
                                  address<br>
                                  <br>
                                  <div>
                                    <div>On Mar 4, 2011, at 7:22 , Alex
                                      H wrote:</div>
                                    <br
                                      class="ecxApple-interchange-newline">
                                    <blockquote><span
                                        class="ecxApple-style-span"
                                        style="border-collapse:
                                        separate; font-family: Georgia;
                                        font-style: normal;
                                        font-variant: normal;
                                        font-weight: normal;
                                        letter-spacing: normal;
                                        line-height: normal;
                                        text-indent: 0px;
                                        text-transform: none;
                                        white-space: normal;
                                        word-spacing: 0px; font-size:
                                        medium;"><span
                                          class="ecxApple-style-span"
                                          style="font-family: Tahoma;
                                          font-size: 13px;"><span
                                            class="ecxApple-style-span"
                                            style="border-collapse:
                                            collapse; font-family:
                                            Arial,'Liberation
                                            Sans','DejaVu
                                            Sans',sans-serif; font-size:
                                            14px; line-height: 18px;">
                                            <p style="margin-right: 0px;
                                              margin-bottom: 1em;
                                              margin-left: 0px; padding:
                                              0px; border-width: 0px;
                                              font-size: 14px;
                                              vertical-align: baseline;
                                              background-color:
                                              transparent; clear: both;
                                              word-wrap: break-word;"><br
class="ecxApple-interchange-newline">
                                              I have a rackspace server
                                              running with nginx. I am a
                                              newbie to all the server
                                              stuff. Let me explain the
                                              situation here:</p>
                                            <ol style="margin-right:
                                              0px; margin-bottom: 1em;
                                              margin-left: 30px;
                                              padding: 0px;
                                              border-width: 0px;
                                              font-size: 14px;
                                              vertical-align: baseline;
                                              background-color:
                                              transparent;
                                              list-style-type: decimal;">
                                              <li style="margin-right:
                                                0px; margin-bottom: 0px;
                                                margin-left: 0px;
                                                padding: 0px;
                                                border-width: 0px;
                                                font-size: 14px;
                                                vertical-align:
                                                baseline;
                                                background-color:
                                                transparent;">I have an
                                                IP address and I have
                                                two virtual host on my
                                                machine.</li>
                                              <li style="margin-right:
                                                0px; margin-bottom: 0px;
                                                margin-left: 0px;
                                                padding: 0px;
                                                border-width: 0px;
                                                font-size: 14px;
                                                vertical-align:
                                                baseline;
                                                background-color:
                                                transparent;">I don't
                                                have a domain and I
                                                don't want to buy one</li>
                                              <li style="margin-right:
                                                0px; margin-bottom: 0px;
                                                margin-left: 0px;
                                                padding: 0px;
                                                border-width: 0px;
                                                font-size: 14px;
                                                vertical-align:
                                                baseline;
                                                background-color:
                                                transparent;">I want to
                                                map it so I can access
                                                the website as
                                                xxx.xxx.xxx.xxx/v_host1
                                                and
                                                xxx.xxx.xxx.xxx/v_host2</li>
                                            </ol>
                                            <p style="margin-right: 0px;
                                              margin-bottom: 1em;
                                              margin-left: 0px; padding:
                                              0px; border-width: 0px;
                                              font-size: 14px;
                                              vertical-align: baseline;
                                              background-color:
                                              transparent; clear: both;
                                              word-wrap: break-word;">How
                                              can I do this the easy
                                              way? I am guessing I
                                              should change the nginx
                                              config of my site... but
                                              not sure which one to
                                              change.</p>
                                          </span></span></span></blockquote>
                                    <font class="ecxApple-style-span"
                                      face="'Courier New'">server {</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">&nbsp;&nbsp; &nbsp;location
                                      /v_host1/ {</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;root
                                      /path/to/v_host1;</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">&nbsp;&nbsp; &nbsp;}</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">&nbsp;&nbsp; &nbsp;location
                                      /v_host2/ {</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;root
                                      /path/to/v_host2;</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">&nbsp;&nbsp; &nbsp;}</font></div>
                                  <div><font class="ecxApple-style-span"
                                      face="'Courier New'">
                                      <div style="font-family: Georgia;"><font
                                          class="ecxApple-style-span"
                                          face="'Courier New'"><br>
                                        </font></div>
                                    </font></div>
                                  <div><span class="ecxApple-style-span"
                                      style="border-collapse: separate;
                                      color: rgb(0, 0, 0); font-family:
                                      Georgia; font-style: normal;
                                      font-variant: normal; font-weight:
                                      normal; letter-spacing: normal;
                                      line-height: normal; text-indent:
                                      0px; text-transform: none;
                                      white-space: normal; word-spacing:
                                      0px; font-size: medium;"><br
                                        class="ecxApple-interchange-newline">
                                      --<br>
                                      Igor Sysoev<br>
                                      <a moz-do-not-send="true"
                                        href="http://sysoev.ru/en/"
                                        target="_blank">http://sysoev.ru/en/</a></span></div>
                                  <br>
                                  <br>
                                  _______________________________________________
                                  nginx mailing list<span
                                    class="ecxApple-converted-space">&nbsp;</span><a
                                    moz-do-not-send="true"
                                    href="mailto:nginx@nginx.org">nginx@nginx.org</a><span
                                    class="ecxApple-converted-space">&nbsp;</span><a
                                    moz-do-not-send="true"
                                    href="http://nginx.org/mailman/listinfo/nginx"
                                    target="_blank">http://nginx.org/mailman/listinfo/nginx</a>_______________________________________________<br>
                                  nginx mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
                                  <a moz-do-not-send="true"
                                    href="http://nginx.org/mailman/listinfo/nginx"
                                    target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
                                </div>
                              </span></blockquote>
                          </div>
                          <br>
                          <div><span class="ecxApple-style-span"
                              style="border-collapse: separate; color:
                              rgb(0, 0, 0); font-family: Georgia;
                              font-style: normal; font-variant: normal;
                              font-weight: normal; letter-spacing:
                              normal; line-height: normal; text-indent:
                              0px; text-transform: none; white-space:
                              normal; word-spacing: 0px; font-size:
                              medium;"><br
                                class="ecxApple-interchange-newline">
                              --<br>
                              Igor Sysoev<br>
                              <a moz-do-not-send="true"
                                href="http://sysoev.ru/en/"
                                target="_blank">http://sysoev.ru/en/</a></span></div>
                          <br>
                          <br>
                          _______________________________________________
                          nginx mailing list<span
                            class="ecxApple-converted-space">&nbsp;</span><a
                            moz-do-not-send="true"
                            href="mailto:nginx@nginx.org">nginx@nginx.org</a><span
                            class="ecxApple-converted-space">&nbsp;</span><a
                            moz-do-not-send="true"
                            href="http://nginx.org/mailman/listinfo/nginx"
                            target="_blank">http://nginx.org/mailman/listinfo/nginx</a>_______________________________________________<br>
                          nginx mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://nginx.org/mailman/listinfo/nginx"
                            target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
                        </div>
                      </span></blockquote>
                  </div>
                  <br>
                  <div><span class="ecxApple-style-span"
                      style="border-collapse: separate; color: rgb(0, 0,
                      0); font-family: Georgia; font-style: normal;
                      font-variant: normal; font-weight: normal;
                      letter-spacing: normal; line-height: normal;
                      text-indent: 0px; text-transform: none;
                      white-space: normal; word-spacing: 0px; font-size:
                      medium;"><br class="ecxApple-interchange-newline">
                      --<br>
                      Igor Sysoev<br>
                      <a moz-do-not-send="true"
                        href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a></span></div>
                  <br>
                </div>
                <br>
                _______________________________________________ nginx
                mailing list<span class="ecxApple-converted-space">&nbsp;</span><a
                  moz-do-not-send="true" href="mailto:nginx@nginx.org">nginx@nginx.org</a><span
                  class="ecxApple-converted-space">&nbsp;</span><a
                  moz-do-not-send="true"
                  href="http://nginx.org/mailman/listinfo/nginx"
                  target="_blank">http://nginx.org/mailman/listinfo/nginx</a>_______________________________________________<br>
                nginx mailing list<br>
                <a moz-do-not-send="true" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
                <a moz-do-not-send="true"
                  href="http://nginx.org/mailman/listinfo/nginx"
                  target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
              </div>
            </span></blockquote>
        </div>
        <br>
        <div style="font-family: Tahoma; font-size: 10pt;">
          <span class="ecxApple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Georgia;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            text-indent: 0px; text-transform: none; white-space: normal;
            word-spacing: 0px; font-size: medium;"><br
              class="ecxApple-interchange-newline">
            --<br>
            Igor Sysoev<br>
            <a moz-do-not-send="true" href="http://sysoev.ru/en/"
              target="_blank">http://sysoev.ru/en/</a></span>
        </div>
        <br>
        <br>
        <font class="Apple-style-span" size="2" face="Tahoma">_______________________________________________
nginx
          mailing list
          <a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
          <a class="moz-txt-link-freetext" href="http://nginx.org/mailman/listinfo/nginx">http://nginx.org/mailman/listinfo/nginx</a></font></div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://nginx.org/mailman/listinfo/nginx">http://nginx.org/mailman/listinfo/nginx</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>