Homec4science

script: binding address+port config variable

Authored by Marco Neumann <marco@crepererum.net> on Apr 28 2015, 10:01.

Description

script: binding address+port config variable

  • NEW Adds SERVER_BIND_ADDRESS and SERVER_BIND_PORT to overwrite bind address and port independently from the public URL. This gives control over the used network interface as well as the ability to bind Invenio to a protected port and use a reverse proxy for access. Priority of the config is (1) runserver command arguments, (2) SERVER_BIND_ADDRESS and SERVER_BIND_PORT configuration, (3) data from CFG_SITE_URL, (4) defaults (127.0.0.1:80).

Signed-off-by: Marco Neumann <marco@crepererum.net>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
Marco Neumann <marco@crepererum.net>Apr 29 2015, 11:12
Parents
R3600:c37f9d804ce4: travis: pip upgrade addition
Branches
Unknown
Tags
Unknown

Event Timeline

Marco Neumann <marco@crepererum.net> committed R3600:95f4f6723a2f: script: binding address+port config variable (authored by Marco Neumann <marco@crepererum.net>).Apr 29 2015, 11:12