Add proxy snippets and use nginx-light
This commit is contained in:
parent
f9473d0769
commit
a8fa5d69ff
5 changed files with 82 additions and 16 deletions
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue