Homec4science

Allow the Aphlict server to bind to localhost

Authored by Joshua Spence <josh@joshuaspence.com> on Jan 8 2015, 23:59.

Description

Allow the Aphlict server to bind to localhost

Summary: If you are running the Aphlict server behind a reverse proxy (such as nginx) then there's no need to bind to 0.0.0.0. Add a --client-host flag to aphlict_server.js to allow binding to a different hostname. Also changed the other flags for consistency and clarity.

Test Plan: Started, stopped and debug the Aphlict server.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11288

Details

Committed
Joshua Spence <josh@joshuaspence.com>Jan 9 2015, 01:10
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8ddb9e28750d: T6869, Mailing list "Public (No Login Required)" name should be visible to…
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPH638cf20c9de4: Allow the Aphlict server to bind to localhost (authored by Joshua Spence <josh@joshuaspence.com>).Jan 9 2015, 01:10