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.yaml
|
||||||
config.json
|
config.json
|
||||||
*.env
|
*.env
|
||||||
|
.crush
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 80;
|
||||||
|
# listen 443 ssl;
|
||||||
server_name ghwebhook.example.com;
|
server_name ghwebhook.example.com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/ghwebhook.example.com/fullchain.pem;
|
# let certbot handle the SSL setup and renewal
|
||||||
ssl_certificate_key /etc/letsencrypt/live/ghwebhook.example.com/privkey.pem;
|
# ssl_certificate /etc/letsencrypt/live/ghwebhook.example.com/fullchain.pem;
|
||||||
|
# ssl_certificate_key /etc/letsencrypt/live/ghwebhook.example.com/privkey.pem;
|
||||||
|
|
||||||
location /webhook {
|
location /webhook {
|
||||||
proxy_pass http://127.0.0.1:9900;
|
proxy_pass http://127.0.0.1:9900;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Wants=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
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
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user