mirror of
https://github.com/taigrr/github-to-signal.git
synced 2026-04-02 03:09:09 -07:00
update example docs
update nginx config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@ config.toml
|
||||
config.yaml
|
||||
config.json
|
||||
*.env
|
||||
.crush
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user