- Fixed Nginx proxy for /feedback/ and /lead/ routes. - Restored manager.py to use persistent SQLite DB and corrected test lead triggers. - Refined Dockerfile for lead-engine to ensure clean dependency installs. - Applied latest API configs (.env) to lead-engine and duckdns services. - Updated documentation (GEMINI.md, readme.md, RELOCATION.md, lead-engine/README.md) to reflect final state and lessons learned. - Committed all pending changes to main branch.
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
events {}
|
|
http {
|
|
access_log /dev/stdout;
|
|
error_log /dev/stderr;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
location / {
|
|
auth_basic "Restricted";
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
proxy_pass http://dashboard:80;
|
|
}
|
|
|
|
location /lead/ {
|
|
auth_basic "Restricted";
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
proxy_pass http://lead-engine:8501/;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
}
|
|
|
|
location /ce/ {
|
|
auth_basic "Restricted";
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
proxy_pass http://company-explorer:8000/;
|
|
}
|
|
|
|
location /feedback/ {
|
|
auth_basic off;
|
|
proxy_pass http://lead-engine:8004/;
|
|
}
|
|
|
|
location /connector/ {
|
|
auth_basic off;
|
|
proxy_pass http://connector-superoffice:8000/;
|
|
}
|
|
}
|
|
} |