Your Name 4 năm trước cách đây
mục cha
commit
cecc38597b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      apis/run.sh

+ 2 - 1
apis/run.sh

@@ -1,2 +1,3 @@
 #!/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