Skip to content

xw-z/nginx-api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx-Api-Gateway API网关服务

目前仅支持http接口

docker run -d --name api-geteway -p 8888:80 \
    -v /var/run/docker.sock:/var/run/docker.sock:ro \
    xwzhou/nginx-api-geteway

docker run -d  --name api-node-01 \
    -e API_NODE_NAME="node_01" -e API_NODE_PORT=80 \
    nginx


docker run -d  --name api-node-02 \
    -e API_NODE_NAME="node_02" -e API_NODE_PORT=80 \
    nginx

http://localhost:8888/node_01/index.html   =>   http://<node_0X_server>/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages