From 1908a6441d31e4acf8dfda01375095ff2638edf4 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Wed, 22 Apr 2026 15:25:42 +0200 Subject: [PATCH] =?UTF-8?q?Behebe=20Nginx=20Redirect-Loop=20f=C3=BCr=20Doc?= =?UTF-8?q?usaurus=20unter=20/docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs-site/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs-site/nginx.conf b/docs-site/nginx.conf index 89d3c8e..cbb37fc 100644 --- a/docs-site/nginx.conf +++ b/docs-site/nginx.conf @@ -5,8 +5,12 @@ server { root /usr/share/nginx/html; index index.html; + location = /docs { + return 301 /docs/; + } + location / { - try_files $uri $uri/ /docs/index.html; + try_files $uri $uri/ /docs/index.html /index.html; } location ~* \.(?:css|js|map|jpg|jpeg|gif|png|svg|ico|webp|woff2?)$ {