Add proxy snippets and use nginx-light

This commit is contained in:
Alexandre Iooss 2019-03-14 10:53:44 +01:00
parent f9473d0769
commit a8fa5d69ff
5 changed files with 82 additions and 16 deletions

View file

@ -0,0 +1,12 @@
# {{ 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;