From 194cb19402821a2e7e10ea94a56fda86dd781172 Mon Sep 17 00:00:00 2001 From: HonzaTuron Date: Mon, 20 Oct 2025 11:00:11 +0200 Subject: [PATCH 1/3] fix: Redirect cli/index.md to default route --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index 3b52b274c..073397721 100644 --- a/nginx.conf +++ b/nginx.conf @@ -463,6 +463,9 @@ server { # Misc rewrite ^/platform/integrations/llama$ /platform/integrations/llama-index permanent; + + # Markdown file redirects for CLI docs + rewrite ^/cli/index.md /cli.md permanent; } # Temporarily used to route crawlee.dev to the Crawlee GitHub pages. From 13102379b7dfaedf319b269cf366ec3276a4558f Mon Sep 17 00:00:00 2001 From: HonzaTuron Date: Mon, 20 Oct 2025 11:04:22 +0200 Subject: [PATCH 2/3] fix: Redirect cli/index.md to default route --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 073397721..3083c168e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -465,7 +465,7 @@ server { rewrite ^/platform/integrations/llama$ /platform/integrations/llama-index permanent; # Markdown file redirects for CLI docs - rewrite ^/cli/index.md /cli.md permanent; + rewrite ^/cli/index.md$ /cli.md permanent; } # Temporarily used to route crawlee.dev to the Crawlee GitHub pages. From 8faf20795246dc6c84be411df40c6ecd16cfe5c5 Mon Sep 17 00:00:00 2001 From: HonzaTuron Date: Mon, 20 Oct 2025 11:19:05 +0200 Subject: [PATCH 3/3] fix: cli rewrite --- nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3083c168e..91e8516ec 100644 --- a/nginx.conf +++ b/nginx.conf @@ -57,6 +57,9 @@ server { location /sdk/python { proxy_pass https://apify.github.io/apify-sdk-python/; } + location = /cli.md { + proxy_pass $backend$uri; + } location /cli { proxy_pass https://apify.github.io/apify-cli/; } @@ -463,9 +466,6 @@ server { # Misc rewrite ^/platform/integrations/llama$ /platform/integrations/llama-index permanent; - - # Markdown file redirects for CLI docs - rewrite ^/cli/index.md$ /cli.md permanent; } # Temporarily used to route crawlee.dev to the Crawlee GitHub pages.