EnigmaCurry / d.rymcg.tech

A collection of self-hosted docker-compose projects with Traefik reverse proxy, integrated auth, and administrative Makefiles for easy maintainance
MIT License
46 stars 9 forks source link

Create webhook proxy service #240

Open mcmikemn opened 3 weeks ago

mcmikemn commented 3 weeks ago

Homepage uses webhooks to auto-restart the container triggered by a push to the config repo. But if you put Homepage behind mTLS, the webhook is also behind mTLS.

We could create a webhook proxy, webhooks.example.com, that does not use incoming mTLS. It forwards requests it to the homepage webhook, which does require outgoing mTLS. The idea is to have only one public non-mTLS webhook receiver for all apps. you configure it to match request urls to particular destination webhooks.