<!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">
    <br>
    # front-end: nginx<br>
    -=&gt;&gt; cat /etc/nginx/vhosts/201.conf<br>
    server {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; listen&nbsp; 80;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include /etc/nginx/vhosts/201.domains;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include /etc/nginx/errors/errors.conf;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; access_log /var/log/nginx/201-access.log nginx;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; location / { proxy_pass <a class="moz-txt-link-freetext" href="http://192.168.4.11:80/">http://192.168.4.11:80/</a> ;}<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; location /nginx_status {stub_status on;}<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; location ^~ /.icons/ {alias /etc/apache2/icons/;}<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; location ~ (empty\.gif|blank\.gif|spacer\.gif) {empty_gif;}<br>
    }<br>
    <br>
    -=&gt;&gt; cat /etc/nginx/vhosts/201.domains<br>
    server_name domain1 domain2 domain3 domain4;<br>
    ############################################<br>
    # back-end container: apache2<br>
    &lt;VirtualHost *:80&gt;<br>
    DocumentRoot /home/domain/www/<br>
    AddHandler x-httpd-php5 .php .php3 .php4 .php5<br>
    ServerName domain1<br>
    ServerAlias <a class="moz-txt-link-abbreviated" href="http://www.domain1">www.domain1</a><br>
    ErrorLog /home/domain/logs/error.log<br>
    CustomLog&nbsp; /home/domain/logs/access.log common<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Directory " /home/domain/www/"&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options -Indexes +Includes +ExecCGI MultiViews
    FollowSymLinks<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride All<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
    &lt;/VirtualHost&gt;<br>
    ############################################<br>
    <br>
    <br>
    <br>
    06.12.2010 18:44, Benjamin Henrion &#1087;&#1080;&#1096;&#1077;&#1090;:
    <blockquote
      cite="mid:AANLkTimupZgunOw2eNUR90T2swc+4tQSs=G8mR-8iAoX@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

I want to host 3 different webservers into 3 different containers, but
I have only one public IP on the Hardware node.

Does anybody has a simple config of apache in mod_proxy or lighttpd?

Best,

</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <img src="cid:part1.09080408.01040405@pronskiy.ru" border="0"></div>
  </body>
</html>