Your Name 4 年之前
父节点
当前提交
cecc38597b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      apis/run.sh

+ 2 - 1
apis/run.sh

@@ -1,2 +1,3 @@
 #!/bin/sh
 #!/bin/sh
-uvicorn main:app --host 0.0.0.0 --port 8080 --reload
+#uvicorn main:app --host 0.0.0.0 --port 8080 --reload
+uvicorn main:app --host 0.0.0.0 --port 8080 --ssl-keyfile=/etc/letsencrypt/live/api.ptt.cx/privkey.pem --ssl-certfile=/etc/letsencrypt/live/api.ptt.cx/fullchain.pem