From 794a4c211c6af99718fc4dd2820f032a4438708b Mon Sep 17 00:00:00 2001 From: julien Date: Thu, 8 Oct 2026 19:59:12 +0200 Subject: [PATCH] =?UTF-8?q?Add=20Caddy=20config=20for=20=C3=89cart=C3=A9?= =?UTF-8?q?=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/Caddyfile | 1 + conf/docs.caddy | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 conf/docs.caddy diff --git a/conf/Caddyfile b/conf/Caddyfile index a7809bc..0100232 100644 --- a/conf/Caddyfile +++ b/conf/Caddyfile @@ -1,4 +1,5 @@ import files.caddy +import docs.caddy import mails.caddy import services.caddy import websites.caddy diff --git a/conf/docs.caddy b/conf/docs.caddy new file mode 100644 index 0000000..ab90846 --- /dev/null +++ b/conf/docs.caddy @@ -0,0 +1,10 @@ +https://docs.netig.net { + header Strict-Transport-Security "max-age=31536000" + + redir /ecarte /ecarte/ + + handle_path /ecarte/* { + root * /srv/ecarte/doc + file_server + } +}