You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jl...@apache.org on 2017/02/12 21:10:16 UTC
incubator-airflow git commit: [AIRFLOW-832] Let debug server run
without SSL
Repository: incubator-airflow
Updated Branches:
refs/heads/master 6e2210278 -> b0ae70d3a
[AIRFLOW-832] Let debug server run without SSL
Closes #2051 from gsakkis/fix-debug-server
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/b0ae70d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/b0ae70d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/b0ae70d3
Branch: refs/heads/master
Commit: b0ae70d3a8e935dc9266b6853683ae5375a7390b
Parents: 6e22102
Author: George Sakkis <ge...@gmail.com>
Authored: Sun Feb 12 16:09:26 2017 -0500
Committer: Jeremiah Lowin <jl...@apache.org>
Committed: Sun Feb 12 16:09:33 2017 -0500
----------------------------------------------------------------------
airflow/bin/cli.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/b0ae70d3/airflow/bin/cli.py
----------------------------------------------------------------------
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index 61d8707..e9c54e6 100755
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -751,7 +751,7 @@ def webserver(args):
"Starting the web server on port {0} and host {1}.".format(
args.port, args.hostname))
app.run(debug=True, port=args.port, host=args.hostname,
- ssl_context=(ssl_cert, ssl_key))
+ ssl_context=(ssl_cert, ssl_key) if ssl_cert and ssl_key else None)
else:
pid, stdout, stderr, log_file = setup_locations("webserver", pid=args.pid)
print(