摘要:
NAME="identifyImg_uwsgi.init" if [ ! -n "$NAME" ];then echo "no arguments" exit; fi echo $NAME ID=`ps -ef | grep "$NAME" | grep -v "$0" | grep -v "grep" | awk '{print $2}'` e... 阅读全文
摘要:
from json_response import JsonResponse from aip import AipOcr import os import time BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) OUT = "/static/upload" ABS_OUT = os.path.jo... 阅读全文
摘要:
1、申请证书,从我的域名列表 右侧的操作栏中点击- ssl 2、配置 nginx config -> /etc/nginx/sites-enabled/default 底部添加:(我的是django+nginx,所以利用uwsgi转发请求) , 然后重启nginx服务 service nginx r 阅读全文