feat(nginx): add /rag-originals/ location for QA PDF serving

Serves original regulation PDFs from ~/rag-originals/ on port 3002
for the RAG QA Split-View Chunk-Browser. Adds volume mount to nginx.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-02-28 17:46:13 +01:00
parent 403cb5b85d
commit 1c8f528c7a
2 changed files with 10 additions and 0 deletions

View File

@@ -248,6 +248,15 @@ server {
proxy_set_header X-Forwarded-Proto https;
}
# RAG Original-PDFs fuer QA Split-View
location /rag-originals/ {
alias /data/rag-originals/;
autoindex off;
types { application/pdf pdf; }
add_header Cache-Control "public, max-age=86400";
add_header X-Content-Type-Options nosniff;
}
# Admin Lehrer Frontend (fallback for everything else)
location / {
set $upstream_admin_lehrer bp-lehrer-admin:3000;