Open UTrosh opened 6 months ago
What folders and files there are in this path /etc/letsencrypt/live/
? Is there like a {servername}-0001
?
Ah yea it works, you need to enable certbot on the specific domain like so:
hosting.add('yourdomain.com', { destination: 'http://127.0.0.1:3000', certbot: true })
Certbot on a hosting level is enabled by default (so that Hosting can handle automatic renewals, even for external domains not controlled by Hosting itself), but on a domain level certbot is "disabled" by default
I will see to improve the README so it's clearer, and maybe default it to true if possible. Also, considering to do a global bin :) Let me know any feedback
Got error when using ssl, with certbot, here is my code : this.hosting = new Hosting({log: 2, certbot: true, behindProxy: false}) (in a function) await this.hosting.listen({ securePort: 443 })
When i did the certbot, i got this :
So it seems to work..., but i cant get to https://my domain..