项目作者: twijayanto

项目描述 :
Golang Fiber Framework + Nginx
高级语言: Dockerfile
项目地址: git://github.com/twijayanto/load-balancing.git
创建时间: 2021-01-21T15:12:24Z
项目社区:https://github.com/twijayanto/load-balancing

开源协议:

下载


Nginx Load balancing Sample

This is a sample golang fiber app using nginx as load balancer.

How To Run

  1. Edit line 2 and 3 in file ./nginx/nginx.conf
  2. Change 192.168.99.100 to your docker ip and then save
  3. Open a terminal and go to project
    1. $ cd {go-to-project}
  4. Execute docker compose
    1. $ docker-compose up -d
  5. Open browser: http://docker-ip:8080