1 Star 0 Fork 0

hellowzk / nginx-test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

启动 Nginx nginx-1.10.2

docker network ls #查看网络
docker network create --driver bridge --subnet 172.18.0.0/24 --gateway 172.18.0.1 mybridge
docker run --name nginx-test --network=mybridge --ip 172.18.0.6 -p 8080:80 -v /root/zhaokui/nginx_test/nginx/nginx.conf:/etc/nginx/nginx.conf:ro -v /root/zhaokui/nginx_test/logs:/logs -d nginx:1.18.0
docker run --name nginx-api --network=mybridge --ip 172.18.0.7 -p 8090:80  -d nginx-test-api

进入 Nginx 实例

nginx -s stop
nginx -t -c /nginxconf/nginx.conf

空文件

简介

Nginx 采集 post get 请求数据 demo 展开 收起
Dockerfile 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hellowzk/nginx-test.git
git@gitee.com:hellowzk/nginx-test.git
hellowzk
nginx-test
nginx-test
master

搜索帮助