From 50253b887b5308689504a66c53d244da37bfb53a Mon Sep 17 00:00:00 2001 From: Eyob Yirdaw Date: Fri, 1 Mar 2019 12:02:54 +0300 Subject: [PATCH] secure http for analysis_results.py --- Docker/supervisor/topic_rest.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docker/supervisor/topic_rest.conf b/Docker/supervisor/topic_rest.conf index cf70e88..4f0cde2 100644 --- a/Docker/supervisor/topic_rest.conf +++ b/Docker/supervisor/topic_rest.conf @@ -3,9 +3,9 @@ logfile=/dev/null nodaemon=true [program:topic_rest] -command=gunicorn -c config.py analysis_results:app +command=gunicorn --certfile /etc/letsencrypt/live/tz-services-1.snet.sh/fullchain.pem --keyfile /etc/letsencrypt/live/tz-services-1.snet.sh/privkey.pem -c config.py analysis_results:app directory=/home/top/gunicorn/ -user=top +user=root autostart=true autorestart=true stdout_logfile=/dev/stdout