Set up a reverse proxy on one server using Docker
Task:
Set up a Docker reverse proxy on the server that provides:
HTTP/HTTPS traffic routing to multiple services;
automatic generation and renewal of TLS/SSL certificates via Let’s Encrypt;
WebSocket support;
the ability to configure request limits (rate limiting);
easy addition of new services without restarting the proxy;
training the client to independently manage services, certificates, WebSocket, and limits.
Requirements:
A server with Docker and Docker Compose; ports 80 and 443 open.
An isolated Docker network for the proxy and services.
HTTP traffic is automatically redirected to HTTPS.
The proxy automatically discovers containers and routes traffic through labels.
Result:
The proxy operates without errors;
Let’s Encrypt certificates are generated and renewed;
Services are available via HTTPS and WebSocket;
New services can be added without restarting;
The client is trained for independent management
Access to the server is possible only through Anydesk and Rus Desk, the test server, or data transfer from the server nnnet
Дотсупы к серверу возможно только через анидеск и рус деск, тестового сервера или передачи данных от сервера ннет