1 Star 0 Fork 0

jiandanti/FlaskTpp_end

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nginx.conf 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
jiandanti 提交于 2020-04-19 14:03 . 同步上去
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/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 /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
#include /etc/nginx/conf.d/*.conf;
server{
listen 80;
server_name 10.0.122.64;
charset utf-8;
#root /home/rock/Desktop/;
#index hello.html;
#location /2048 {
# alias /home/rock/Desktop/2048/;
#}
location / {
include /etc/nginx/uwsgi_params;
uwsgi_pass localhost:8000;
# proxy_pass http://localhost:5000;
}
#location /static {
# alias /home/rock/Python1803/AXFDay/static/;
#}
#location /2048html5 {
# alias /var/www/game/2048html5/;
#}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/jiandanti/FlaskTpp_end.git
git@gitee.com:jiandanti/FlaskTpp_end.git
jiandanti
FlaskTpp_end
FlaskTpp_end
master

搜索帮助