from centos6.9: https://github.com/xianhu/LearnPython/blob/master/Docker/Dockerfile
251
Nginx配置: server { listen 7099; server_name localhost; charset utf-8; location / { add_header 'Access-Control-Allow-Origin' '*'; # 指定可以跨域请求 uwsgi_send_timeout 600; # 指定向uWSGI传送请求的超时时间,完成握手后向uWSGI传送请求的超时时间。 uwsgi_connect_timeout 600; # 指定连接到后端uWSGI的超时时间。 uwsgi_read_timeout 600; # 指定接收uWSGI应答的超时时间,完成握手后接收uWSGI应答的超时时间。 include uwsgi_params; uwsgi_pass unix:/tmp/uwsgi.sock; } }
Content type
Image
Digest
Size
991.6 MB
Last updated
over 8 years ago
docker pull xianhu/centos6