Johannes Graumann | 2 Aug 2012 07:45
Picon

Distribution of requests to multiple lxc containers

Dear all,

My setup is to run multiple web services in different lxc containers and 
nginx on the host to distribute requests to the appropriate container. I'm 
trying the two entries below as seperate files in sites-available/sites-
enabled, but requests to "mail.MAYDOMAIN.org" (trying to reach the lxc 
container (supposedly) proxied by the second entry) end up returning an 
error produced by the the first one.

Any insight into this newbies folly would be highly appreciated - where do I 
err?

Thank you for your time.

Sincerely, Joh

PS: Can the SSL related entries be put into one joint place for all entries 
rather than repeating it? JG

> server {
>         listen   443;
>         server_name  MYDOMAIN.org HOSTING.net;
>         client_max_body_size 40M;
>         # SSL is using CACert credentials
>         ssl  on;
>         ssl_certificate  /etc/ssl/private/cacert.MYDOMAIN.org.pem;
>         ssl_certificate_key 
/etc/ssl/private/cacert.MYDOMAIN.org_privatkey.pem;
>         ssl_session_timeout  5m;
>         ssl_protocols  SSLv3 TLSv1;
(Continue reading)


Gmane