Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple https domains #7

Open
kennygrant opened this issue Apr 8, 2018 · 0 comments
Open

Allow multiple https domains #7

kennygrant opened this issue Apr 8, 2018 · 0 comments

Comments

@kennygrant
Copy link
Contributor

kennygrant commented Apr 8, 2018

The server should optionally support serving multiple domains over https. This would make it easier to support multiple domains in the CMS.

This should be possible using the built in packages, by using tlsConfig.Certificates and tls.Listen rather than ListenAndServe.

There can be a fallback domain, and then several other domains with their own certs that can be used if the server detects them.

We'd need some sort of setup (an array of domains) in the config, with name, aliases, cert, key rather than just the cert_file and key_file keys we have at present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant