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

Add option to serve an https endpoint instead of http #966

Open
halberom opened this issue Aug 14, 2024 · 1 comment
Open

Add option to serve an https endpoint instead of http #966

halberom opened this issue Aug 14, 2024 · 1 comment

Comments

@halberom
Copy link

halberom commented Aug 14, 2024

Describe the feature:
Some companies/solutions require services to all use TLS/HTTPS. At present goss only serves HTTP.

Describe the solution you'd like
Add ability to serve an https endpoint given a certificate.

E.g.

goss --serve --protocol https --cert-key /path/to/cert.key --cert /path/to/cert.crt

Describe alternatives you've considered
Use a reverse-proxy like caddy to sit in front of goss.

@aelsabbahy
Copy link
Member

Makes sense, marking this as approved. I haven't looked too close to Go's net/http to see how well it's supported in the stdlib. I would be against pulling in a third party https service into the package though.

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

No branches or pull requests

2 participants