docs tidy etc

This commit is contained in:
daniel
2023-08-21 20:46:01 +01:00
parent 0e2eda8d14
commit b08f401daf
244 changed files with 1108 additions and 1160 deletions

View File

@@ -0,0 +1,32 @@
---
title: Hardcoding Custom Settings
weight: 49
---
## Custom Server
{{% notice note %}}
To hardcode custom server settings into your executables you must [build](/docs/en/dev/build/) the client yourself on your machine or [with GitHub Actions](/docs/en/dev/build/all/).
{{% /notice %}}
{{% notice note %}}
**If you set either of these values without setting the other, your executable will not work!**
{{% /notice %}}
You can set the following environment variables on your OS and RustDesk will use those variables when compiling your client rather than the default rustdesk.com servers.
If you do not know how to set an environment variable on your system you should be able to find documentation for your OS online that will explain this.
#### RENDEZVOUS_SERVER
This variable should be set to your server URL.
This should be a string such as
```
rustdesk.my-domain.com
```
#### RS_PUB_KEY
This variable will be your public key, more information on the key is available [here](/docs/en/self-host/install/#key).
This should be a string such as
```
OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=
```