Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Add possibility to bind to a specific IP address #668

Merged
merged 4 commits into from
Dec 21, 2017

Conversation

TwizzyDizzy
Copy link
Contributor

No description provided.

Thomas Dalichow added 2 commits December 9, 2017 02:21
@TwizzyDizzy TwizzyDizzy mentioned this pull request Dec 9, 2017
Copy link
Contributor

@dannycoates dannycoates left a comment

Choose a reason for hiding this comment

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

This looks great! Just one tiny change before we merge.

server/config.js Outdated
@@ -14,6 +14,11 @@ const conf = convict({
default: 'localhost',
env: 'REDIS_HOST'
},
listen_address: {
format: 'ipaddress',
default: '127.0.0.1',
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's make the default '0.0.0.0' so that it will listen on all addresses

@TwizzyDizzy
Copy link
Contributor Author

TwizzyDizzy commented Dec 21, 2017

Changed as requested, though in real-life you'd want to reverse proxy mozilla send (that's why I deemed 127.0.0.1 to be the wiser default)

Cheers
Thomas

@dannycoates
Copy link
Contributor

Thank you @TwizzyDizzy 😄

@dannycoates dannycoates merged commit 1d2b0cb into mozilla:master Dec 21, 2017
@TwizzyDizzy
Copy link
Contributor Author

Closing, since merged to master.

Cheers
Thomas

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

Successfully merging this pull request may close these issues.

2 participants