blob: 1c1094dacb8b3b3a90b1f82b5226dd5ceac2a7fe [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
amatthews379daac2022-08-18 15:31:12 +010014 listen 8091;
15 server_name oof;
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +000016
17 location / {
krishnaa96f47fe422020-07-17 19:21:18 +053018 include /opt/bitnami/nginx/conf/uwsgi_params;
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +000019 uwsgi_pass conductor_uwsgi;
20
21 uwsgi_param Host $host;
22 uwsgi_param X-Real-IP $remote_addr;
23 uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for;
24 uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
25 }
26 }
27}