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