ansible/roles/nginx-reverse-proxy/templates/nginx/snippets/proxy-common.conf.j2
2019-03-14 10:53:44 +01:00

12 lines
222 B
Django/Jinja

# {{ ansible_managed }}
# Listen for IPv4 and IPv6 with HTTP2
listen 80 http2;
listen [::]:80 http2;
# Hide NGINX version
server_tokens off;
# Reverse Proxy Adm
set_real_ip_from 10.128.0.0/16;
real_ip_header P-Real-Ip;