feat(smartlead): Add Smartlead webhook integration [31f88f42]
This commit is contained in:
@@ -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/;
|
||||
|
||||
Reference in New Issue
Block a user