编辑nginx配置:
server { listen 8098; server_name 127.0.0.1; location / { include uwsgi_params; # uwsgi_pass unix:/tmp/uwsgi.sock; uwsgi_pass 192.168.19.162:8115; } }
安装flask
sudo pip install flask --proxy 192.168.52.227
时间: 2024-10-10 13:44:36
编辑nginx配置:
server { listen 8098; server_name 127.0.0.1; location / { include uwsgi_params; # uwsgi_pass unix:/tmp/uwsgi.sock; uwsgi_pass 192.168.19.162:8115; } }
安装flask
sudo pip install flask --proxy 192.168.52.227