You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/templates/README.template.md
+50-1Lines changed: 50 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,65 @@ Get the latest version of the `docker-compose.yaml` file:
10
10
{ { file.docker-compose.yaml } }
11
11
```
12
12
13
+
### Reverse proxy
14
+
15
+
Take a look at traefik implementation:
16
+
17
+
```yaml
18
+
{ { file.examples/traefik.docker-compose.yaml } }
19
+
```
20
+
21
+
## Setup
22
+
23
+
Before you can send messages via `secured-signal-api` you must first setup [`signal-api`](https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/EXAMPLES.md),
24
+
25
+
to send messages you have to either:
26
+
27
+
- register a Signal Account
28
+
29
+
OR
30
+
31
+
- link Signal Api to a already registered Signal Device
Because `secured-signal-api` is just a secure proxy you can use all of the [Signal REST Api](https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/EXAMPLES.md) endpoints with an Exception of:
44
+
45
+
```python
46
+
DEFAULT_BLOCKED_ENDPOINTS= [
47
+
"/v1/about",
48
+
"/v1/configuration",
49
+
"/v1/devices",
50
+
"/v1/register",
51
+
"/v1/unregister",
52
+
"/v1/qrcodelink",
53
+
"/v1/accounts",
54
+
"/v1/contacts"
55
+
]
56
+
```
57
+
58
+
Which are blocked by default to increase Security, but you these can be modified by setting the `BLOCKED_ENDPOINTS` environment variable as a valid json array
Before you can send messages via `secured-signal-api` you must first setup [`signal-api`](https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/EXAMPLES.md),
83
+
84
+
to send messages you have to either:
85
+
86
+
- register a Signal Account
87
+
88
+
OR
89
+
90
+
- link Signal Api to a already registered Signal Device
Because `secured-signal-api` is just a secure proxy you can use all of the [Signal REST Api](https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/EXAMPLES.md) endpoints with an Exception of:
103
+
104
+
```python
105
+
DEFAULT_BLOCKED_ENDPOINTS = [
106
+
"/v1/about",
107
+
"/v1/configuration",
108
+
"/v1/devices",
109
+
"/v1/register",
110
+
"/v1/unregister",
111
+
"/v1/qrcodelink",
112
+
"/v1/accounts",
113
+
"/v1/contacts"
114
+
]
115
+
```
116
+
117
+
Which are blocked by default to increase Security, but you these can be modified by setting the `BLOCKED_ENDPOINTS` environment variable as a valid json array
0 commit comments