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

added ssl support #144

Merged
merged 4 commits into from Apr 15, 2019
Merged

added ssl support #144

merged 4 commits into from Apr 15, 2019

Conversation

YourTechBud
Copy link
Collaborator

Fixes #83

@HeyItsJs HeyItsJs changed the title added metric collection added ssl support Apr 15, 2019
server.go Outdated
@@ -59,10 +64,19 @@ func (s *server) start(port string) error {
})

handler := corsObj.Handler(s.router)

if s.config.SSL != nil {
return http.ListenAndServeTLS(":"+port, s.config.SSL.Crt, s.config.SSL.Crt, handler)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use key file as well

@HeyItsJs HeyItsJs merged commit c1844cb into spacecloud-io:v0.7.0 Apr 15, 2019
@YourTechBud YourTechBud deleted the ssl-support branch April 20, 2019 12:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants