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

14 lines
285 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;
2024-01-28 17:43:12 +00:00
resolver 127.0.0.11 valid=30s ipv6=off;
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}