mirror of
https://github.com/taigrr/github-to-signal.git
synced 2026-04-01 18:59:01 -07:00
update certbot
This commit is contained in:
17
README.md
17
README.md
@@ -122,6 +122,23 @@ sudo nginx -t && sudo systemctl reload nginx
|
||||
|
||||
Edit the service files first to set your phone number and paths. The signal-cli daemon listens on `127.0.0.1:8081` (not 8080, to avoid conflicts). Update `signal_url` in your config.toml to match.
|
||||
|
||||
### SSL with Certbot
|
||||
|
||||
Install certbot and the nginx plugin, then request a certificate:
|
||||
|
||||
```bash
|
||||
# Install certbot (Debian/Ubuntu)
|
||||
sudo apt install certbot python3-certbot-nginx
|
||||
|
||||
# Request certificate (certbot auto-configures nginx)
|
||||
sudo certbot --nginx -d ghwebhook.example.com
|
||||
|
||||
# Verify auto-renewal is enabled
|
||||
sudo systemctl status certbot.timer
|
||||
```
|
||||
|
||||
Certbot will automatically modify the nginx config to enable SSL and set up renewal. The signal-cli daemon listens on `127.0.0.1:8081` (not 8080, to avoid conflicts). Update `signal_url` in your config.toml to match.
|
||||
|
||||
## Dependencies
|
||||
|
||||
- [cbrgm/githubevents](https://github.com/cbrgm/githubevents) — GitHub webhook event handling
|
||||
|
||||
Reference in New Issue
Block a user