How to forward Nginx incoming request to Docker container port

Some time ago we decided fully migrate projects on one our server to Docker. There was no problem write Dockerfile according to each project, but we don’t know how to make Docker container accessible by domain. Supposed, we have next configuration in docker-compose.yml: version: '3.7' services: ... webserver: image: nginx:1.16 restart: unless-stopped ports: - "8080:80"... » read more