airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] XD-DENG edited a comment on issue #3738: [AIRFLOW-2886] Secure Flask SECRET_KEY
Date Fri, 10 Aug 2018 23:23:10 GMT
XD-DENG edited a comment on issue #3738: [AIRFLOW-2886] Secure Flask SECRET_KEY
   Hi @feng-tao , in cluster mode, given the `.cfg` files are initiated on different nodes,
the SECRET_KEY will be different. That's also why Craig mentioned it fixes now on a single
webserver instance (multiple workers), but doesn't work on a cluster of webservers ([LINK](
   I insist in that we should have random SECRET_KEY for the webserver. If we use the previous
way, that is to have a default value in the template, it's gonna be risky.
   If users want to use a cluster of webservers, they need to either 
   - make sure that SECRET_KEYs are consistent across nodes (to manually specify)
   - apply `ip-hash` strategy for the cluster load-balancing, rather than `round-robin`.
   Please let me know your thoughts?
   cc: @Fokko @kaxil 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message