【文件属性】:
文件名称:test-gunicorn
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-23 10:15:59
Python
测试独角兽
这是为了复制的。
如何
确保已安装docker和docker-compose 。
git clone https://github.com/zhan9san/test-gunicorn.git
cd test-gunicorn
docker-compose up --build
打开另一个终端进行测试
timeout 1 curl -I http://127.0.0.1:1337/
这是错误日志
web_1 | [2021-03-24 07:50:53 +0000] [9] [DEBUG] HEAD /
nginx_1 | 192.168.0.1 - - [24/Mar/2021:07:50:54 +0000] " HEAD / HTTP/1.1 " 499 0 " - " " curl/7.64.1 "
web_1 | [2021-03-24 07:50:
【文件预览】:
test-gunicorn-main
----LICENSE(1KB)
----README.md(1KB)
----docker-compose.yml(300B)
----.gitignore(2KB)
----app()
--------test.py(349B)
--------Dockerfile(64B)
----nginx()
--------Dockerfile(83B)
--------nginx.conf(1KB)