aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-02-03 15:22:38 -0600
committerGitHub <noreply@github.com>2023-02-03 15:22:38 -0600
commit02364ac34c7ebabbb348a0806a36f6bc2153a609 (patch)
tree1d329879f57f68259c0af92ecd8b73fca6d27f1b /docs
parent3162a3f7964e924372a7744f4ce02951894dfe38 (diff)
parent9ee5accfcd65f98923724da3809cbcc8d5163061 (diff)
downloadslskd-02364ac34c7ebabbb348a0806a36f6bc2153a609.tar.gz
Merge pull request #874 from slskd/revert-862-port
Revert "Change default ports for HTTP, HTTPS, and Soulseek to 5030, 5031, and 50300, respectively"
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md12
-rw-r--r--docs/docker.md18
-rw-r--r--docs/relay.md6
-rw-r--r--docs/reverse_proxy.md4
4 files changed, 20 insertions, 20 deletions
diff --git a/docs/config.md b/docs/config.md
index cd68c45a..b3cf6aeb 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:5031
+ address: https://my_cloud_server.example.com:5001
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: 50300
+ listen_port: 50000
```
## Other
@@ -588,7 +588,7 @@ soulseek:
## Basic
-The default HTTP listen port is 5030, but can be anything between 1 and 65535.
+The default HTTP listen port is 5000, typical for a .NET application, 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: 5030
+ port: 5000
url_base: /
content_path: wwwroot
logging: false
@@ -614,7 +614,7 @@ web:
## HTTPS
-The default HTTPS port is 5031, but can be anything between 1 and 65535.
+The default HTTPS port is 5001, typical for a .NET application 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: 5031
+ port: 5001
force: false
certificate:
pfx: ~
diff --git a/docs/docker.md b/docs/docker.md
index 8aecf2f9..e5e78251 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 5030:5030 \
- -p 5031:5031 \
- -p 50300:50300 \
+ -p 5000:5000 \
+ -p 5001:5001 \
+ -p 50000:50000 \
-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 5030:5030 \
- -p 5031:5031 \
- -p 50300:50300 \
+ -p 5000:5000 \
+ -p 5001:5001 \
+ -p 50000:50000 \
-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 5030:5030 \
- -p 5031:5031 \
- -p 50300:50300 \
+ -p 5000:5000 \
+ -p 5001:5001 \
+ -p 50000:50000 \
-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 c1f09b4a..04e5915f 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:5031`. 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:5001`. 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:5031
+ address: https://192.168.1.241:5001
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:5031
+[18:50:08 INF] Attempting to connect to the relay controller https://192.168.1.241:5001
[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 c1992fb5..d52ceb40 100644
--- a/docs/reverse_proxy.md
+++ b/docs/reverse_proxy.md
@@ -15,7 +15,7 @@ server {
listen 8080;
location /slskd {
- proxy_pass http://localhost:5030;
+ proxy_pass http://localhost:5000;
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:5030;
+ proxy_pass http://localhost:5000;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;