diff options
| author | Matt Goldspink <mattgoldspink1@gmail.com> | 2023-02-03 11:18:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-03 11:18:22 -0800 |
| commit | 7051348242058fc50c0fb474d011b90ff2c09071 (patch) | |
| tree | ead84e30d063372dbc6c04b1a453e8130e935234 /docs | |
| parent | d1177d526898da0597718e5f4b2307ea558db100 (diff) | |
| parent | 3162a3f7964e924372a7744f4ce02951894dfe38 (diff) | |
| download | slskd-7051348242058fc50c0fb474d011b90ff2c09071.tar.gz | |
Merge branch 'slskd:master' into feature/dark-mode
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 12 | ||||
| -rw-r--r-- | docs/docker.md | 18 | ||||
| -rw-r--r-- | docs/relay.md | 6 | ||||
| -rw-r--r-- | docs/reverse_proxy.md | 4 |
4 files changed, 20 insertions, 20 deletions
diff --git a/docs/config.md b/docs/config.md index b3cf6aeb..cd68c45a 100644 --- a/docs/config.md +++ b/docs/config.md @@ -244,7 +244,7 @@ relay: enabled: true mode: agent controller: - address: https://my_cloud_server.example.com:5001 + address: https://my_cloud_server.example.com:5031 ignore_certificate_errors: true api_key: <a valid API key for the controller instance> secret: <a secret value that matches the controller for this instance> @@ -477,7 +477,7 @@ Symptoms of a misconfigured listen port include poor search results and the inab #### **YAML** ```yaml soulseek: - listen_port: 50000 + listen_port: 50300 ``` ## Other @@ -588,7 +588,7 @@ soulseek: ## Basic -The default HTTP listen port is 5000, typical for a .NET application, but can be anything between 1 and 65535. +The default HTTP listen port is 5030, but can be anything between 1 and 65535. The URL base option allows the application to operate behind a reverse proxy. Setting a base of "slskd" would make the web UI accessible at `http://<host>:<port>/slskd`. @@ -606,7 +606,7 @@ Logging of HTTP requests is disabled by default. #### **YAML** ```yaml web: - port: 5000 + port: 5030 url_base: / content_path: wwwroot logging: false @@ -614,7 +614,7 @@ web: ## HTTPS -The default HTTPS port is 5001, typical for a .NET application but can be anything between 1 and 65535. +The default HTTPS port is 5031, but can be anything between 1 and 65535. By default, the application generates a new, self-signed X509 certificate at each startup. If, for whatever reason, a self-signed certificate isn't sufficient, or if the certificate needs to be shared among systems or applications, a certificate `.pfx` and password can be defined. @@ -632,7 +632,7 @@ The application can produce a self-signed `.pfx` file and random password using ```yaml web: https: - port: 5001 + port: 5031 force: false certificate: pfx: ~ diff --git a/docs/docker.md b/docs/docker.md index e5e78251..8aecf2f9 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -4,9 +4,9 @@ For most users, a quick start will be all that is needed: ```shell docker run -d \ - -p 5000:5000 \ - -p 5001:5001 \ - -p 50000:50000 \ + -p 5030:5030 \ + -p 5031:5031 \ + -p 50300:50300 \ -v <path/to/application/data>:/app \ --name slskd \ slskd/slskd:latest @@ -22,9 +22,9 @@ For this scenario, the `docker run` command would be: ```shell docker run -d \ - -p 5000:5000 \ - -p 5001:5001 \ - -p 50000:50000 \ + -p 5030:5030 \ + -p 5031:5031 \ + -p 50300:50300 \ -v /var/slskd:/app \ -v /home/JohnDoe/Music:/music \ -v /home/JohnDoe/eBooks:/ebooks \ @@ -45,9 +45,9 @@ You can achieve the same configuration by setting the `SLSKD_SHARED_DIR` environ ```shell docker run -d \ - -p 5000:5000 \ - -p 5001:5001 \ - -p 50000:50000 \ + -p 5030:5030 \ + -p 5031:5031 \ + -p 50300:50300 \ -v /var/slskd:/app \ -v /home/JohnDoe/Music:/music \ -v /home/JohnDoe/eBooks:/ebooks \ diff --git a/docs/relay.md b/docs/relay.md index 04e5915f..c1f09b4a 100644 --- a/docs/relay.md +++ b/docs/relay.md @@ -109,7 +109,7 @@ We'll start the controller instance, which, in my case, is running on a machine Finally, we'll configure the agent. We'll enable the Relay, set this instance's mode to `agent`, and fill in the details of or controller. -The controller is running on a machine with IP address 192.168.1.53, and we want to use HTTPS, so we'll use the URL `https://192.168.1.53:5001`. We're using the default self-signed certificate, so we'll need to `ignore_certificate_errors`. +The controller is running on a machine with IP address 192.168.1.53, and we want to use HTTPS, so we'll use the URL `https://192.168.1.53:5031`. We're using the default self-signed certificate, so we'll need to `ignore_certificate_errors`. We'll copy the API key and secret from the controller config, and lastly, we want the agent to receive the files downloaded by the controller, so we'll set `downloads` to `true`. @@ -125,7 +125,7 @@ relay: enabled: true mode: agent controller: - address: https://192.168.1.241:5001 + address: https://192.168.1.241:5031 ignore_certificate_errors: true api_key: 9tWy5c3NrmekKVWLQXBztz0hY7rNGlj1tGMfvHKmU1q secret: BgI04SuVtsAYipxPHDpdxJsnVoPEeq4tKJeorWxr3Pj @@ -139,7 +139,7 @@ We'll start the agent and confirm that it connects to the controller and uploads ``` [18:50:08 INF] Running in Agent relay mode; not connecting to the Soulseek server. -[18:50:08 INF] Attempting to connect to the relay controller https://192.168.1.241:5001 +[18:50:08 INF] Attempting to connect to the relay controller https://192.168.1.241:5031 [18:50:09 INF] Relay controller connection established. Awaiting authentication... [18:50:09 INF] Authenticated. Uploading shares... [18:50:09 INF] Beginning upload of shares (48.0 KB) diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md index d52ceb40..c1992fb5 100644 --- a/docs/reverse_proxy.md +++ b/docs/reverse_proxy.md @@ -15,7 +15,7 @@ server { listen 8080; location /slskd { - proxy_pass http://localhost:5000; + proxy_pass http://localhost:5030; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; @@ -32,7 +32,7 @@ server { listen 8080; location / { - proxy_pass http://localhost:5000; + proxy_pass http://localhost:5030; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; |
