Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/features/private-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ flowchart
- Reverse proxy with valid SSL certificate ([project CA](../services/ca.md) supported)

=== "🖥️ From Sources"
- Git and Go 1.23+ toolchain
- Git and Go 1.24+ toolchain
- MySQL/MariaDB server with empty database and privileged user
- Reverse proxy with valid SSL certificate ([project CA](../services/ca.md) supported)

Expand Down
21 changes: 11 additions & 10 deletions docs/getting-started/custom-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Please consider the [Private Server](./private-server.md) mode first. It offers
- Valid SSL certificate

5. ⚙️ **Build Tools**
- Go 1.23+
- Go 1.24+
- Docker 24.0+

## Backend Configuration ⚙️
Expand All @@ -62,15 +62,16 @@ Please consider the [Private Server](./private-server.md) mode first. It offers
3. Update FCM credentials

=== ":material-lock: Private Mode"
```diff title="internal/sms-gateway/modules/push/upstream/client.go"
- const BASE_URL = "https://api.sms-gate.app/upstream/v1"
+ const BASE_URL = "https://your-main-server.com/upstream/v1"
```
**Build Commands**:
```bash
make build # Binary
make docker-build # Container
```
```yaml title="config.yml (gateway section)"
gateway:
mode: private
upstream_url: https://your-main-server.com/api/upstream/v1
```
**Build Commands**:
```bash
make build # Binary
make docker-build # Container
```

!!! info "Architecture Requirement"
Private servers require at least one public server
Expand Down
Loading