feat(smartlead): Add Smartlead webhook integration [31f88f42]

This commit is contained in:
2026-03-10 07:38:47 +00:00
parent 46301f9b8c
commit 8bc5f4cbb8
3 changed files with 79 additions and 1 deletions

View File

@@ -131,6 +131,20 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
# Smartlead Webhooks (public)
location /public/smartlead/ {
auth_basic off;
# Rewrite the URL to remove the public prefix and pass the rest to the webhook handler
# e.g., /public/smartlead/hot-lead -> /webhook/hot-lead
rewrite ^/public/smartlead/(.*)$ /webhook/$1 break;
proxy_pass http://lead-engine:8004;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /connector/ {
auth_basic off;
proxy_pass http://connector-superoffice:8000/;