diff options
author | Tommy Carpenter <tommy@research.att.com> | 2018-06-29 16:08:34 -0400 |
---|---|---|
committer | Tommy Carpenter <tommy@research.att.com> | 2018-07-02 10:46:01 -0400 |
commit | 0d2fdb1d8bd120c2966365f0d90e63c35951e667 (patch) | |
tree | 90c6e82951e9e32527f477d126cb281c2c3a110e /nginxhttps.conf | |
parent | 8984604d52cd9354897b48b783dfd8610c5c5758 (diff) |
Add HTTPS support.
Change-Id: I3a2f950c5031878c53b98f66450d859c007be77d
Issue-ID: DCAEGEN2-562
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'nginxhttps.conf')
-rw-r--r-- | nginxhttps.conf | 17 |
1 files changed, 17 insertions, 0 deletions
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; +} |