代码拉取完成,页面将自动刷新
events {
worker_connections 1024; ## Default: 1024
}
http {
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;
gzip on;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 204800;
client_max_body_size 1024m;
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Load modular configuration files from the /etc/nginx/conf.d directory.
# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
#include /etc/nginx/conf.d/*.conf;
server {
listen 8888;
server_name 0.0.0.0;
charset utf-8;
#access_log /var/log/nginx/manage.access.log main;
#error_log /var/log/nginx/manage.error.log warn;
location / {
root /app;
index index.html index.htm;
include uwsgi_params;
uwsgi_pass 127.0.0.1:5000;
# uwsgi_param UWSGI_PYHOME /;
uwsgi_param UWSGI_CHDIR /app;
uwsgi_param PYTHONPATH /app;
# uwsgi_param UWSGI_MODULE main;
# uwsgi_param UWSGI_CALLABLE app;
uwsgi_param UWSGI_SCRIPT main:app;
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。