lab-ansible/roles/apps/templates/nginx/conf.d/http.conf.j2

12 lines
244 B
Plaintext
Raw Normal View History

{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
set_real_ip_from {{ proxy_host }};
real_ip_header X-Forwarded-For;
real_ip_recursive on;
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}