Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Nginx logging client ip     - How to install MySQL on Linux Dock (Database)

- Ubuntu 14.04 Boot Repair (Linux)

- Debian (Wheezy) were installed wxPython GUI development (Linux)

- How Mutt mail client to use cipher text password (Linux)

- Ubuntu 14.04 / 14.10 how to install FFmpeg 2.5.1 (Linux)

- Java open source monitoring platform Zorka basic use (Linux)

- Debian 8 (amd64) installation deployment Memcached management tools MemAdmin (Server)

- How to clear the v $ archived_log view expiration information (Database)

- Mass data storage application of MongoDB database (Database)

- Java by Spy Memcached to cache data (Programming)

- Docker + OpenvSwitch build experimental environment VxLAN (Server)

- Machine Learning: Classification of the curse of dimensionality (Programming)

- TNS-03505 name could not be resolved (Database)

- Linux Monitoring Command (Linux)

- How to override the plain text files and directories soft connection in linux (Linux)

- CentOS 6 compiling httpd-2.4.10 (Server)

- Linux configuration startup mount: fstab file (Linux)

- C ++ pointer of the (error-prone model) (Programming)

- Archlinux installation tutorial (Linux)

- Repair after installing Ubuntu no boot device error (Linux)

 
         
  Nginx logging client ip
     
  Add Date : 2018-11-21      
         
         
         
  Nginx logging client's ip

We need to add --with-http_realip_module when installed on the proxy settings :()
proxy_set_header Host $ host;
proxy_set_header X-Forwarded-For $ remote_addr;

set_real_ip_from ip; (fill in the ip is the proxy ip)
real_ip_header X-Forwarded-For;

When web rear end :( installation need to add --with-http_realip_module)
set_real_ip_from ip; (fill in the ip is the proxy ip)
real_ip_header X-Forwarded-For;
Add $ remote_addr or $ http_x_forwarded_for parameters log_format inside.
     
         
         
         
  More:      
 
- Docker build their own private warehouses (Linux)
- MySQL Tutorial: About checkpoint mechanism (Database)
- Wireshark basic introduction and learning TCP three-way handshake (Linux)
- Learning UNIX good habits (Linux)
- VMWare virtual machine without rebooting way to add virtual disk (Linux)
- C # C ++ Java interface type conversion (Programming)
- Teach you the Ubuntu Server enabled SSH multifactor authentication (Server)
- Ubuntu users install the video driver Nvidia Driver 334.21 (Linux)
- Android project using the command to create and install the package (Programming)
- OpenSSH server configuration file for each Common Definition (Server)
- Export error: ORA-04063: package body dmsys dbms dm model exp has error (Database)
- GitHub multiplayer co-development configuration (Linux)
- Git uses Details (Linux)
- To execute the cp command prompt type skip folder under CentOS (Linux)
- Use Spring cache and ehcache (Programming)
- Memcached source installation and configuration under CentOS 6.6 (Server)
- Using iptables achieve NAT (Linux)
- How to use Linux to download music from Grooveshark (Linux)
- CentOS 6 Install Linux kernel source (Linux)
- Ubuntu 14.04 compile and install Apache (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.