[FEAT] Multi domain support #25
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
next
Smth big enough to next major version
SO that we can support multi-domains I guess we could start to detect the incoming domains used by the proxies etc using
https://github.com/pires/go-proxyproto , so that we dont need to pass ENV variables anymore.
It seems plausible that we can do this to the current _example code, and not need another example like we spoke about a few days ago.
The _example is currently working with many domains and sub domains using Caddy.
But, until proxy detection is done cant really do more there.
Will get it deploying to fly.io with the caddy stuff embedded and check multi-domain using real domains tomorrow, with hardcoded ENV, and then when proxy detection is done can try again.
@egregors let me know if you want the Makefile I used to get this working. Its just a wrapper on the current one.
The text was updated successfully, but these errors were encountered: