Frontend: - api.js Zeile 499: BASE_URL → BASE (executePromptStreaming) - nginx.conf: proxy_read_timeout 300s für lange Workflow-Ausführungen Fixes: - "BASE_URL is not defined" Fehler in Analyse-Seite - 504 Gateway Timeout bei Workflow-Ausführung (>60s) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
20 lines
439 B
Nginx Configuration File
20 lines
439 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location /api/ {
|
|
proxy_pass http://backend:8000/api/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
client_max_body_size 20M;
|
|
proxy_read_timeout 300s;
|
|
proxy_connect_timeout 60s;
|
|
proxy_send_timeout 60s;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|