加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginx.conf 849 Bytes
一键复制 编辑 原始数据 按行查看 历史
guanfuchang 提交于 2021-08-04 15:55 . Initial commit
server {
listen 5000;
server_name 127.0.0.1;
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 /opt/workspace/FasterRunner/media; # your Django project's media files - amend as required
}
location /static {
alias /opt/workspace/FasterRunner/static; # your Django project's static files - amend as required
}
location / {
include uwsgi_params;
uwsgi_pass unix:/opt/workspace/FasterRunner/FasterRunner.sock;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化