# nginx-test **Repository Path**: hellowzk/nginx-test ## Basic Information - **Project Name**: nginx-test - **Description**: Nginx 采集 post get 请求数据 demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-19 - **Last Updated**: 2022-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 ```