$ pip install gunicorn python $ gunicorn app:app -c gunicorn.conf.py server { listen 80; server_name example.com; location / { proxy_pass http://127.0.0.1:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } }


上一篇:
下一篇:
切换中文