From 3687deeeb14c7bfd5a08e427e470a5bdc7da72b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=BCmel=20Branko?= Date: Fri, 26 Dec 2025 17:39:45 +0100 Subject: [PATCH] Add CrumbCodex category --- app/services/document_indexer.py | 3 ++- native_crumbcore_v1/nginx/crumbforest-locations.conf | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/services/document_indexer.py b/app/services/document_indexer.py index cc9d596..595ec19 100644 --- a/app/services/document_indexer.py +++ b/app/services/document_indexer.py @@ -48,7 +48,8 @@ class DocumentIndexer: # Supported document categories self.categories = { "rz-nullfeld": "docs_rz_nullfeld", - "crumbforest": "docs_crumbforest" + "crumbforest": "docs_crumbforest", + "crumbcodex": "docs_crumbcodex" } def get_file_hash(self, file_path: Path) -> str: diff --git a/native_crumbcore_v1/nginx/crumbforest-locations.conf b/native_crumbcore_v1/nginx/crumbforest-locations.conf index 4731d9a..7f0d114 100644 --- a/native_crumbcore_v1/nginx/crumbforest-locations.conf +++ b/native_crumbcore_v1/nginx/crumbforest-locations.conf @@ -28,9 +28,7 @@ location /api/chat { proxy_pass http://crumbforest_backend; proxy_http_version 1.1; - # WebSocket headers - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + # Standard Proxy Headers proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;