-
Notifications
You must be signed in to change notification settings - Fork 0
harshit0209/multi-container-nginx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
[<img src= https://badgen.net/badge/Linkedin/harshit/blue>](https://www.linkedin.com/in/harshit-chaurasia-38a57016a/) # Multi-Container Nginx Setup for Microservices This repository demonstrates how to use Nginx to route traffic to different microservices based on route URLs. Three services will be running on different ports, and Nginx will handle traffic distribution based on route paths. ## Prerequisites - Docker and Docker Compose are installed on your system. ## Usage 1. Clone this repository to your local machine: ```bash git clone https://github.com/harshit0209/multi-container-nginx.git cd multi-container-nginx docker-compose up --build 1. Hit following URL, these are for different service: - http://localhost/api - http://localhost/api1 - http://localhost/api2 - ws://localhost/ws - send message it will return same
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published