Your Name há 4 anos atrás
pai
commit
cecc38597b
1 ficheiros alterados com 2 adições e 1 exclusões
  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