- **Standardization & Formula Logic:** Fixed NameError/SyntaxError in formula parser; added support for comments and capitalized placeholders.
- **Source URL Tracking:** Extended DB schema and cascade logic to store and track specific source URLs.
- **Frontend & UI:**
- Added 'Standardized Potential' display in Inspector.
- Added clickable source link with icon.
- Fixed Settings tab layout collapse (flex-shrink-0).
- **Export Capabilities:**
- Single-company JSON export now includes full quantitative metadata.
- New global CSV export endpoint /api/companies/export.
- **System Integrity:**
- Fixed Notion sync typo ('Stanardization').
- Corrected Nginx proxy routing and FastAPI route ordering.
- Ensured DB persistence via explicit docker-compose volume mapping.
121 lines
3.7 KiB
Plaintext
121 lines
3.7 KiB
Plaintext
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
access_log /dev/stdout;
|
|
error_log /dev/stderr;
|
|
|
|
# Increase Body Size Limit for Large Payloads (Knowledge Base + Audits)
|
|
client_max_body_size 50M;
|
|
|
|
# Increase Timeouts for Long-Running AI Tasks
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
send_timeout 1200s;
|
|
|
|
# Resolver ist wichtig für Docker
|
|
resolver 127.0.0.11 valid=30s ipv6=off;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
# Basic Auth wieder aktiviert
|
|
auth_basic "Restricted Access - Local AI Suite";
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
|
|
location / {
|
|
proxy_pass http://dashboard:80;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
location /b2b/ {
|
|
# Der Trailing Slash am Ende ist wichtig!
|
|
proxy_pass http://b2b-app:3002/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Explicit timeouts for this location
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
}
|
|
|
|
location /market/ {
|
|
# Der Trailing Slash am Ende ist wichtig!
|
|
proxy_pass http://market-frontend:80/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Explicit timeouts for this location
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
}
|
|
|
|
location /gtm/ {
|
|
# Der Trailing Slash am Ende ist wichtig!
|
|
proxy_pass http://gtm-app:3005/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Explicit timeouts for this location
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
}
|
|
|
|
location /content/ {
|
|
# Content Engine
|
|
# Der Trailing Slash am Ende ist wichtig!
|
|
proxy_pass http://content-app:3006/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Explicit timeouts for this location
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
}
|
|
|
|
location /ce/ {
|
|
# Company Explorer (Robotics Edition)
|
|
# KEIN Trailing Slash, damit der /ce/ Pfad erhalten bleibt!
|
|
proxy_pass http://company-explorer:8000;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Explicit timeouts
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
}
|
|
|
|
location /ca/ {
|
|
# Competitor Analysis Agent
|
|
# Der Trailing Slash am Ende ist wichtig!
|
|
proxy_pass http://competitor-analysis:8000/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Explicit timeouts
|
|
proxy_read_timeout 1200s;
|
|
proxy_connect_timeout 1200s;
|
|
proxy_send_timeout 1200s;
|
|
}
|
|
}
|
|
}
|