mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 14:20:32 +01:00
Feature request: Support multiple local TLS certificates (domain-based selection) #127
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @henryxrl on GitHub (Dec 22, 2025).
I’d like to request support for multiple local TLS certificates in GoDoxy, with domain-based matching.
Background
Right now, when using:
GoDoxy can only load a single certificate. This works fine for simple setups, but becomes limiting in more complex environments.
Use Case
I have multiple valid certificates, already issued elsewhere (e.g. via Traefik / ACME), such as:
These certificates cover different domain scopes, for example:
*.example1.com(public / external)*.example2.com(internal / split-horizon DNS)At the moment, I have to choose one certificate and lose correct TLS for the other domain set.
Requested capability
Support multiple local certificates, with automatic selection based on SNI / domain matching.
Conceptually something like:
or alternatively:
/app/certs/<domain>/)Why this matters
This would make GoDoxy much easier to adopt as a drop-in reverse proxy in existing infrastructures.