diff options
author | Steven Wright <sw3588@att.com> | 2018-05-24 13:13:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-24 13:13:00 +0000 |
commit | c3f1df4a5c4fe2c232a6e998629eb30c4f6c9679 (patch) | |
tree | 3f342cb71f58b43c47bcfb1bbbc6e919d17c5806 /ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml | |
parent | af331643dc0af5e3fb8bebfa9efb2682e46451b8 (diff) | |
parent | f000e1cad7775e37da61b71773d60b40b9254478 (diff) |
Merge "Alignment of VVP devkit"
Diffstat (limited to 'ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml')
-rw-r--r-- | ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml b/ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml index 0d7b279..52e208e 100644 --- a/ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml +++ b/ansible/roles/ansible-vvp-templates/files/configmaps/nginx-em-configmap.yaml @@ -56,10 +56,14 @@ data: listen 80; charset utf-8; client_max_body_size 75M; # adjust to taste - + location / { - uwsgi_pass em_upstream; - include /etc/nginx/uwsgi_params; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto https; + proxy_set_header Host $http_host; + proxy_redirect off; + + proxy_pass http://em_upstream; } } |