Your Name 4 years ago
parent
commit
cecc38597b
1 changed files with 2 additions and 1 deletions
  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