update example docs

update nginx config
This commit is contained in:
2026-03-10 19:38:54 -04:00
parent 19a7b31dea
commit 6204f08342
3 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ config.toml
config.yaml
config.json
*.env
.crush

View File

@@ -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;

View File

@@ -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