1 - First you need to install nginx on your computer.
2 - Then you need to replace your nginx.conf file with this repository's nginx.conf file.
3 - After that, write the ports on which the solutions work in the upstream section of nginx.conf file.
4 - Finally access the same endpoints of these two solutions via the nginx server's endpoint. ( Like https://localhost:8080/api/First/getValue )
5 - And there you have a solution based load balancer.
-
Notifications
You must be signed in to change notification settings - Fork 0
mehalimes/NGINX-EXAMPLE
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Solution based load balancing using Nginx and ASP.NET Core Web API
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published