1 Star 0 Fork 3

zhanggengxing/autotest_server

forked from 梁孔林/autotest_server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nginx.conf 864 Bytes
一键复制 编辑 原始数据 按行查看 历史
梁孔林 提交于 2021-12-12 22:40 . 1.添加xadmin后台管理组件
server {
listen 8000;
server_name 172.56.110.18;
charset utf-8;
keepalive_timeout 1800s;
client_header_timeout 1800s;
client_body_timeout 1800s;
proxy_connect_timeout 1800s;
proxy_read_timeout 1800s;
proxy_send_timeout 1800s;
send_timeout 1800s;
uwsgi_send_timeout 1800s;
uwsgi_read_timeout 1800s;
client_max_body_size 75M; # adjust to taste
location /media {
alias /root/project/TestProjectFile/autotest_server/media; # your Django project's media files - amend as required
}
location /static {
alias /root/project/TestProjectFile/autotest_server/static; # your Django project's static files - amend as required
}
location / {
uwsgi_pass 0.0.0.0:5000;
include /etc/nginx/uwsgi_params;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhanggengxing/autotest_server.git
[email protected]:zhanggengxing/autotest_server.git
zhanggengxing
autotest_server
autotest_server
master

搜索帮助