Added secure notifications handler setting
authorThierry Florac <tflorac@ulthar.net>
Wed, 21 Nov 2018 09:40:36 +0100
changeset 48 7d06fc8ea782
parent 47 6e17adb23518
child 49 31b1b24e105c
Added secure notifications handler setting
{{cookiecutter.project_slug}}/etc/development.ini
{{cookiecutter.project_slug}}/etc/production.ini
--- a/{{cookiecutter.project_slug}}/etc/development.ini	Fri Oct 26 11:02:19 2018 +0200
+++ b/{{cookiecutter.project_slug}}/etc/development.ini	Wed Nov 21 09:40:36 2018 +0100
@@ -184,6 +184,7 @@
 ## Notifications server settings
 ## PyAMS provides a websockets Gunicorn server which can be used to handle user notifications
 pyams_notify.tcp_handler = {{ cookiecutter.pyams_ws_notify }}
+pyams_notify.tcp_handler.secure = False
 pyams_notify_ws.cache_server = {{ cookiecutter.beaker_backend }}://{{ cookiecutter.beaker_server }}
 
 
--- a/{{cookiecutter.project_slug}}/etc/production.ini	Fri Oct 26 11:02:19 2018 +0200
+++ b/{{cookiecutter.project_slug}}/etc/production.ini	Wed Nov 21 09:40:36 2018 +0100
@@ -179,6 +179,7 @@
 ## Notifications server settings
 ## PyAMS provides a websockets Gunicorn server which can be used to handle user notifications
 pyams_notify.tcp_handler = {{ cookiecutter.pyams_ws_notify }}
+pyams_notify.tcp_handler.secure = True
 pyams_notify_ws.cache_server = {{ cookiecutter.beaker_backend }}://{{ cookiecutter.beaker_server }}