Set different webhook and DRONE_HOST domains?

Hi,

We operate Drone behind a VPN and use a public domain which is then proxied via Nginx for our Github webhooks. When we activate a repo we have to manually change the webhook in Github since Drone populates the webhook with the DRONE_HOST domain and the host is inaccessible from Github. Is there a way to set the webhook to a different domain? If not, would it be possible to add this option in a future update?

Thanks.

1 Like

Any news? I think is a interesting feature to add, most companies use different domains for public and private services

this can be configured with the following parameters:

https://docs.drone.io/installation/reference/drone-server-proxy-host/
https://docs.drone.io/installation/reference/drone-server-proxy-proto/