index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2023-11-09 0:31:22.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2023-11-09 0:31:22.0 +00:00:00
commit
f8e2d3e462967a6d6c2430facf34b15f923ff7dd [patch]
tree
8b10598c848e568a87d831dc9231296c70bc5377
parent
b0c07752eed2a0bb5dc986c6b84edcf781b83d8b
download
f8e2d3e462967a6d6c2430facf34b15f923ff7dd.tar.gz

docs: improve new target page information [skip ci]



Diff

 docs/content/configuration/config-file.md | 4 ++++
 docs/content/download-and-install.md      | 2 +-
 docs/content/features/docker.md           | 2 ++
 tests/toml/config.toml                    | 4 ++--
 4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/docs/content/configuration/config-file.md b/docs/content/configuration/config-file.md
index 638c580..7511d50 100644
--- a/docs/content/configuration/config-file.md
+++ b/docs/content/configuration/config-file.md
@@ -4,6 +4,10 @@

It's disabled by default and can be enabled by passing a _string file path_ via the `-w, --config-file` option or its equivalent [SERVER_CONFIG_FILE]./../configuration/environment-variables.md#server_config_file env.

!!! info "The default config file path is checked at startup time"
    If using the default config file path (`./config.toml`), SWS will attempt to load it at startup time.
    If it is not found or can not be loaded then SWS will continue using the server defaults.

## TOML File (Manifest)

Below is just an example showing all features with their default values.
diff --git a/docs/content/download-and-install.md b/docs/content/download-and-install.md
index 0d3a480..74ab90b 100644
--- a/docs/content/download-and-install.md
+++ b/docs/content/download-and-install.md
@@ -19,7 +19,7 @@ See also [the release history](https://github.com/static-web-server/static-web-s

### Binary installer (Linux/BSDs)

Use our binary installer if your package manager is not supported.
Use the binary installer if your package manager is not supported.

```sh
curl --proto '=https' --tlsv1.2 -sSfL https://get.static-web-server.net | sh
diff --git a/docs/content/features/docker.md b/docs/content/features/docker.md
index 92d06a1..d4eb0da 100644
--- a/docs/content/features/docker.md
+++ b/docs/content/features/docker.md
@@ -15,6 +15,8 @@ All Docker images are [Multi-Arch](https://www.docker.com/blog/how-to-rapidly-bu
- `linux/arm/v6`
- `linux/arm/v7`
- `linux/arm64`
- `linux/ppc64le`
- `linux/s390x`

!!! tip "SWS statically-linked binary"
    All the Docker images use the SWS statically-linked binary, meaning that the binary is highly optimized, performant, and dependency-free thanks to [musl libc](https://www.musl-libc.org/).
diff --git a/tests/toml/config.toml b/tests/toml/config.toml
index a1dc5c9..8b29a20 100644
--- a/tests/toml/config.toml
+++ b/tests/toml/config.toml
@@ -15,8 +15,8 @@ cache-control-headers = true
compression = true

#### Error pages
page404 = "docker/public/404.html"
page50x = "docker/public/50x.html"
page404 = "./404.html"
page50x = "./50x.html"

#### HTTP/2 + TLS
http2 = false