Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Add an option to listen for HTTPS #37

Merged
merged 1 commit into from
Feb 5, 2016
Merged

Add an option to listen for HTTPS #37

merged 1 commit into from
Feb 5, 2016

Conversation

nono
Copy link
Member

@nono nono commented Feb 4, 2016

It will be useful for cozy/cozy-proxy#217

americano._listen = (app, options, callback) ->
if options.ssl
https = require 'https'
crtPath = process.env.SSL_CRT_PATH or '/etc/cozy/server.crt'
Copy link
Contributor

Choose a reason for hiding this comment

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

Americano is supposed to not be tightly linked to cozy. May be allows CRT_PATH & KEY_PATH to be passed as options and move the /etc/cozy defaults to the cozy-proxy.

@nono
Copy link
Member Author

nono commented Feb 5, 2016

@aenario is it better now?

aenario added a commit that referenced this pull request Feb 5, 2016
Add an option to listen for HTTPS
@aenario aenario merged commit 8c403c9 into cozy:master Feb 5, 2016
@aenario
Copy link
Contributor

aenario commented Feb 5, 2016

Released & Published as v0.4.3

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

Successfully merging this pull request may close these issues.

2 participants