ansible/roles/nginx-reverse-proxy/templates/nginx/snippets/proxy-common.conf.j2

13 lines
199 B
Text
Raw Normal View History

2019-03-14 10:53:44 +01:00
# {{ ansible_managed }}
2019-03-16 21:10:00 +01:00
# Listen for IPv4 and IPv6
listen 80;
listen [::]:80;
2019-03-14 10:53:44 +01:00
# Hide NGINX version
server_tokens off;
# Reverse Proxy Adm
set_real_ip_from 10.128.0.0/16;
real_ip_header P-Real-Ip;