Nginx
This commit is contained in:
parent
c56e68afb1
commit
b32fb7019f
1 changed files with 9 additions and 0 deletions
|
@ -56,4 +56,13 @@ sed -i 's/^tty/# tty/g' /etc/inittab
|
||||||
# clean messages
|
# clean messages
|
||||||
rm /var/log/messages
|
rm /var/log/messages
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Nginx :
|
||||||
|
|
||||||
|
```
|
||||||
|
set_real_ip_from W.X.Y.Z;
|
||||||
|
real_ip_recursive on;
|
||||||
|
real_ip_header X-Forwarded-For;
|
||||||
|
|
||||||
```
|
```
|
Loading…
Reference in a new issue