|
|
@@ -55,7 +55,7 @@ desktop software that provides self-hosted solutions.
|
|
55
|
55
|
|
|
56
|
56
|
## Features
|
|
57
|
57
|
|
|
58
|
|
-### API Service: Basic implementation of the PC client's primary interfaces.Supports the Personal version api, which can be enabled by configuring the `rustdesk.personal` file or the `RUSTDESK_PERSONAL` environment variable.
|
|
|
58
|
+### API Service: Basic implementation of the PC client's primary interfaces.Supports the Personal version api, which can be enabled by configuring the `rustdesk.personal` file or the `RUSTDESK_API_RUSTDESK_PERSONAL` environment variable.
|
|
59
|
59
|
|
|
60
|
60
|
#### Login
|
|
61
|
61
|
|
|
|
@@ -147,6 +147,7 @@ rustdesk:
|
|
147
|
147
|
relay-server: "192.168.1.66:21117"
|
|
148
|
148
|
api-server: "http://192.168.1.66:21114"
|
|
149
|
149
|
key: "123456789"
|
|
|
150
|
+ personal: 1
|
|
150
|
151
|
```
|
|
151
|
152
|
|
|
152
|
153
|
* Environment variables, with the prefix `RUSTDESK_API`, will override the settings in the configuration file if
|
|
|
@@ -154,14 +155,14 @@ rustdesk:
|
|
154
|
155
|
|
|
155
|
156
|
| Variable Name | Description | Example |
|
|
156
|
157
|
|------------------------------------|-----------------------------------------------------------|--------------------------------|
|
|
|
158
|
+| TZ | timezone | Asia/Shanghai |
|
|
157
|
159
|
| ----- GIN Configuration ----- | --------------------------------------- | ------------------------------ |
|
|
158
|
|
-| TZ | 时区 | Asia/Shanghai |
|
|
159
|
160
|
| RUSTDESK_API_GIN_TRUST_PROXY | Trusted proxy IPs, separated by commas. | 192.168.1.2,192.168.1.3 |
|
|
160
|
161
|
| ----- GORM Configuration ----- | --------------------------------------- | ------------------------------ |
|
|
161
|
162
|
| RUSTDESK_API_GORM_TYPE | Database type (`sqlite` or `mysql`). Default is `sqlite`. | sqlite |
|
|
162
|
163
|
| RUSTDESK_API_GORM_MAX_IDLE_CONNS | Maximum idle connections | 10 |
|
|
163
|
164
|
| RUSTDESK_API_GORM_MAX_OPEN_CONNS | Maximum open connections | 100 |
|
|
164
|
|
-| RUSTDESK_PERSONAL | Open Personal Api 1:Enable,0:Disable | 1 |
|
|
|
165
|
+| RUSTDESK_API_RUSTDESK_PERSONAL | Open Personal Api 1:Enable,0:Disable | 1 |
|
|
165
|
166
|
| ----- MYSQL Configuration ----- | --------------------------------------- | ------------------------------ |
|
|
166
|
167
|
| RUSTDESK_API_MYSQL_USERNAME | MySQL username | root |
|
|
167
|
168
|
| RUSTDESK_API_MYSQL_PASSWORD | MySQL password | 111111 |
|