S
S
speedvm2022-03-21 20:03:08
Nginx
speedvm, 2022-03-21 20:03:08

How to properly containerize nginx proxy?

Good to everyone!
You need to push the nginx proxy server into the container. The container will be deployed to the Rancher cluster. Domains will be pushed through ingress. There are several approaches:

1. Подготовить шаблон-образ на основе контейнера nginx. Для каждого нового домена создавать на основе этого образа новый контейнер.
2. Создать один контейнер, в который будет прокидываться директория хоста с конфигами доменов.

From the point of view of the "correctness" of the approach (docker-way), which option would be preferable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2022-03-21
@speedvm

Umm. Second option. How do you launch multiple proxy?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question