From 0452f4506ce8456e23cd4d0a4f88c5e09b30f8b6 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 1 Sep 2026 11:48:01 +0100 Subject: [PATCH] Move back to SWS 2 as v3 is in beta --- Dockerfile | 4 ++-- config.toml | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 69ab146..b969241 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN mkdocs build --clean -FROM joseluisq/static-web-server:3 +FROM joseluisq/static-web-server:2 COPY config.toml /config.toml COPY --from=builder /docs/site /public -ENV SERVER_CONFIG_FILE=/config.toml +ENV SWS_CONFIG_FILE=/config.toml EXPOSE 8080 \ No newline at end of file diff --git a/config.toml b/config.toml index 4b978bb..f4f697a 100644 --- a/config.toml +++ b/config.toml @@ -6,15 +6,12 @@ root = "/public" log-level = "error" compression = true -tls = true -tls-cert = "/tls/tls.crt" -tls-key = "/tls/tls.key" http2 = true +http2-tls-cert = "/tls/tls.crt" +http2-tls-key = "/tls/tls.key" security-headers = true -[advanced] - [[advanced.headers]] source = "**/*"