From 6204f083429d5810e227228f81cad79edc9a05ab Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Tue, 10 Mar 2026 19:38:54 -0400 Subject: [PATCH] update example docs update nginx config --- .gitignore | 1 + deploy/github-to-signal.nginx.conf | 8 +++++--- deploy/signal-cli-bot.service | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 877bc76..a69b303 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ config.toml config.yaml config.json *.env +.crush diff --git a/deploy/github-to-signal.nginx.conf b/deploy/github-to-signal.nginx.conf index 6b7646f..fe5ed4e 100644 --- a/deploy/github-to-signal.nginx.conf +++ b/deploy/github-to-signal.nginx.conf @@ -1,9 +1,11 @@ server { - listen 443 ssl; + listen 80; + # listen 443 ssl; server_name ghwebhook.example.com; - ssl_certificate /etc/letsencrypt/live/ghwebhook.example.com/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/ghwebhook.example.com/privkey.pem; + # let certbot handle the SSL setup and renewal + # ssl_certificate /etc/letsencrypt/live/ghwebhook.example.com/fullchain.pem; + # ssl_certificate_key /etc/letsencrypt/live/ghwebhook.example.com/privkey.pem; location /webhook { proxy_pass http://127.0.0.1:9900; diff --git a/deploy/signal-cli-bot.service b/deploy/signal-cli-bot.service index 44b761e..49d56a8 100644 --- a/deploy/signal-cli-bot.service +++ b/deploy/signal-cli-bot.service @@ -5,7 +5,7 @@ Wants=network-online.target [Service] Type=exec -ExecStart=/usr/local/bin/signal-cli -a +1YOURNUMBER daemon --http 127.0.0.1:8081 --no-receive-stdout +ExecStart=/usr/local/bin/signal-cli -a +YOURNUMBER daemon --http 127.0.0.1:8081 --no-receive-stdout Restart=on-failure RestartSec=5