Skip to content

Commit

Permalink
Update config/ poxa.conf and poxa.schema.exs
Browse files Browse the repository at this point in the history
Add description to ssl options and include commented ssl config to
poxa.conf
  • Loading branch information
edgurgel committed Jul 10, 2015
1 parent c013c02 commit ec7cdb8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/poxa.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@ poxa.app_secret = "secret"
# Pusher app id
poxa.app_id = "app_id"

# HTTPS port
#poxa.ssl.port = 8443

# PEM-encoded CA certificate path
#poxa.ssl.cacertfile = "/tmp/cowboy-ca.crt"

# Path to user certificate
#poxa.ssl.certfile = "/tmp/server.crt"

#Path to the file containing the user's private PEM-encoded key
#poxa.ssl.keyfile = "/tmp/server.key"
20 changes: 20 additions & 0 deletions config/poxa.schema.exs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,26 @@
to: "poxa.app_id",
datatype: :binary,
default: "app_id"
],
"poxa.ssl.port": [
doc: "HTTPS port",
to: "poxa.ssl.port",
datatype: :integer,
],
"poxa.ssl.cacertfile": [
doc: "PEM-encoded CA certificate path",
to: "poxa.ssl.cacertfile",
datatype: :binary,
],
"poxa.ssl.certfile": [
doc: "Path to user certificate",
to: "poxa.ssl.certfile",
datatype: :binary,
],
"poxa.ssl.keyfile": [
doc: "Path to the file containing the user's private PEM-encoded key",
to: "poxa.ssl.keyfile",
datatype: :binary,
]
],
translations: [
Expand Down

0 comments on commit ec7cdb8

Please sign in to comment.