blob: cbb1b60a58e2bf9117831d1870385d975e1fc9f6 [file] [log] [blame]
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +00001events {
2 worker_connections 768;
3 # multi_accept on;
4}
5
6http {
7 # ...
8 upstream conductor_uwsgi {
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +02009 server 127.0.0.1:8080;
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +000010 }
11
12 server {
13
14 listen 8091 ssl;
15 server_name oof;
krishnaa9624a7ef32020-10-09 12:01:05 +053016 ssl_certificate /opt/bitnami/nginx/org.onap.oof.crt;
krishnaa96dbcd1ca2020-08-11 10:26:50 +053017 ssl_certificate_key /opt/bitnami/nginx/ssl/local/org.onap.oof.key;
krishnaa9624a7ef32020-10-09 12:01:05 +053018 ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +000019 ssl_ciphers HIGH:!aNULL:!MD5;
20
21 location / {
krishnaa96f47fe422020-07-17 19:21:18 +053022 include /opt/bitnami/nginx/conf/uwsgi_params;
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +000023 uwsgi_pass conductor_uwsgi;
24
25 uwsgi_param Host $host;
26 uwsgi_param X-Real-IP $remote_addr;
27 uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for;
28 uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
29 }
30 }
31}