Merge pull request #132 from 1wilkens/forwarded-allow-ips

[docker-entrypoint.sh] Optionally handle X-Forwarded-Proto
pull/133/head
Ryan Kelly 6 years ago committed by GitHub
commit 1935cad4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,6 +6,7 @@ case "$1" in
export SYNCSERVER_SQLURI="${SYNCSERVER_SQLURI:-sqlite:///tmp/syncserver.db}"
exec gunicorn \
--bind ${HOST-0.0.0.0}:${PORT-5000}\
--forwarded-allow-ips="${SYNCSERVER_FORWARDED_ALLOW_IPS:-127.0.0.1,172.17.0.1}"
syncserver.wsgi_app
;;

Loading…
Cancel
Save