From 0d2fdb1d8bd120c2966365f0d90e63c35951e667 Mon Sep 17 00:00:00 2001 From: Tommy Carpenter Date: Fri, 29 Jun 2018 16:08:34 -0400 Subject: Add HTTPS support. Change-Id: I3a2f950c5031878c53b98f66450d859c007be77d Issue-ID: DCAEGEN2-562 Signed-off-by: Tommy Carpenter --- nginxhttps.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nginxhttps.conf (limited to 'nginxhttps.conf') diff --git a/nginxhttps.conf b/nginxhttps.conf new file mode 100644 index 0000000..9795f19 --- /dev/null +++ b/nginxhttps.conf @@ -0,0 +1,17 @@ +server { + listen 443 ssl; + + location / { + try_files $uri @app; + } + location @app { + include uwsgi_params; + uwsgi_pass unix:///tmp/uwsgi.sock; + } + location /static { + alias /app/static; + } + server_name configbinding; + ssl_certificate /etc/nginx/ssl/nginx.crt; + ssl_certificate_key /etc/nginx/ssl/nginx.key; +} -- cgit 1.2.3-korg