A
A
Andrey Shubin2015-11-26 16:37:32
LXC
Andrey Shubin, 2015-11-26 16:37:32

How to deploy LXC containers behind nginx?

Gentlemen, tell me how to do it right? There is an Ubuntu host OS with nginx and LXC containers. In LXC containers, applications written in Django. The question is how to correctly pass the statics from the container to nginx so that it distributes it? Sharing folders from container to host OS? Throw off the statics on the host OS separately? What is the best way to organize all this if there are several different applications?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill, 2015-11-26
@idegree

Do not keep static in a container, store and distribute it from the host machine

E
evnuh, 2015-11-26
@evnuh

How to implement container virtualization scheme?
It looks like you are in the same situation. And really, are you sure you need containers? What for?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question