swoole / swoole-src

🚀 Coroutine-based concurrency library for PHP
https://www.swoole.com
Apache License 2.0
18.41k stars 3.16k forks source link

Hot reload SSL certificates #5078

Open ghnp5 opened 1 year ago

ghnp5 commented 1 year ago

My SSL certificates are renewed every 2 months, using Certbot/LetsEncrypt.

Is there a way I can hot reload the SSL certificates on Swoole, so they don't eventually expire while the app is live?

Ideally, in a graceful way, without any downtime.

NathanFreeman commented 1 year ago

You have to restart swoole manually.

juslintek commented 1 year ago

Why not use nginx as proxy or haproxy or other lightweight web servers on top or cloudflare origin ssl instead?