Город МОСКОВСКИЙ
00:09:36

How to Install Nginx as a reverse proxy server in Docker

Аватар
PHP Rockstars: руководство для профессионалов
Просмотры:
26
Дата загрузки:
30.11.2023 03:33
Длительность:
00:09:36
Категория:
Лайфстайл

Описание

http://littlebigextra.com/install-nginx-reverse-proxy-server-docker/


On a single docker host machine, we can run 100’s of containers and each container can be accessed by exposing a port on the host machine and binding it to the docker port.
This is the most standard practice which is used and we use docker run command with -p option to bind docker port with and host machine port. Now if we have to do this with a couple of services this process might work well but if we had to cater a large number of containers, remembering port numbers and managing them could be a hurricane task.

This problem can be dealt by installing Nginx, which is a reverse proxy server and directs the client requests to the appropriate docker container

Рекомендуемые видео