1 Star 0 Fork 68

srebro/python-demo

forked from again/python-demo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
myblog.conf 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
永信 李 提交于 2020-06-27 19:23 +08:00 . update Dockerfile
#user nobody;
worker_processes 4;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 8002;
server_name 127.0.0.1;
charset utf-8;
access_log /opt/myblog/log/nginx_access.log;
error_log /opt/myblog/log/nginx_error.log;
client_max_body_size 75M;
location /static {
alias /opt/myblog/static;
}
location /media {
alias /opt/myblog/media;
}
location / {
root /opt/myblog;
include /etc/nginx/uwsgi_params;
uwsgi_pass 127.0.0.1:8000;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fxkjnj/python-demo.git
git@gitee.com:fxkjnj/python-demo.git
fxkjnj
python-demo
python-demo
master

搜索帮助