location /webhook { proxy_pass http://hookshotbot-ip:8000; } location ~ ^/webhook/([^/]+)/discord$ { proxy_pass http://webhook-proxy-ip:9139/webhook/$1; }