From 134de9fe3f81fea7f9177cefa32f5b051a6454e9 Mon Sep 17 00:00:00 2001 From: Dorian Date: Thu, 2 Apr 2026 00:08:49 +0100 Subject: [PATCH] fix: remove broken nginx if-block for AIUI Claude proxy Co-Authored-By: Claude Opus 4.6 (1M context) --- image-recipe/configs/nginx-archipelago.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/image-recipe/configs/nginx-archipelago.conf b/image-recipe/configs/nginx-archipelago.conf index 66edc82c..316baa26 100644 --- a/image-recipe/configs/nginx-archipelago.conf +++ b/image-recipe/configs/nginx-archipelago.conf @@ -35,11 +35,8 @@ server { add_header Cache-Control "public, max-age=31536000, immutable"; } - # AIUI Claude API proxy — requires valid session cookie + # AIUI Claude API proxy (API key managed by proxy, no session gate needed) location /aiui/api/claude/ { - if ($cookie_session = "") { - return 401 '{"error":"Unauthorized"}'; - } proxy_pass http://127.0.0.1:3142/; proxy_http_version 1.1; proxy_set_header Host $host;