From b32fb7019f43d003acf91f9babf8985bfc962b0c Mon Sep 17 00:00:00 2001 From: benoit Date: Wed, 10 Jan 2018 21:23:59 +0000 Subject: [PATCH] Nginx --- HowtoLXD.page | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HowtoLXD.page b/HowtoLXD.page index 4a84583..865df2c 100644 --- a/HowtoLXD.page +++ b/HowtoLXD.page @@ -56,4 +56,13 @@ sed -i 's/^tty/# tty/g' /etc/inittab # clean messages rm /var/log/messages +``` + +Nginx : + +``` +set_real_ip_from W.X.Y.Z; +real_ip_recursive on; +real_ip_header X-Forwarded-For; + ``` \ No newline at end of file