Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Nginx logging client ip     - Use Swift remove the spaces in the string (Programming)

- 11G ASM disk group does not automatically handle MOUNT (Database)

- Protection Docker container Notice (Server)

- Compression software on a simple comparison of zip and gz (Linux)

- Linux development management utility command (Linux)

- The best tools and techniques to find data on a Unix system (Linux)

- Nginx logging client ip (Server)

- Linux System Getting Started Learning: Change the name of the network interface on CentOS7 (Linux)

- Repair fatal error in Linux: lame / lame.h: No such file or dir Error (Linux)

- Python several standard types of built-in functions (Programming)

- Linux MultiPath software implementation instructions (Linux)

- Ordinary users how the Linux system shutdown (Linux)

- SQL statement to repair SQL Server database (Database)

- How to manage your to-do list with the Go For It on Ubuntu (Linux)

- CentOS 6.x and CentOS7 install MPlayer (Linux)

- In Debian 4.3 compiler under Linux-2.6.28 kernel Summary (Programming)

- Lenovo Ultrabooks Ubuntu system can not open the wireless hardware switch solutions (Linux)

- Deployment Kubernetes manage Docker example cluster on Ubuntu (Server)

- MongoDB upgrade from 2.4.9 to 2.6.0 and PHP record of mongo extension upgrade from 1.4.5 to 1.5.1 (Database)

- Elixir: the future of programming languages (Programming)

 
         
  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:      
 
- About Samba certification process and permissions (Linux)
- Experts teach you safety precautions Linux Sniffer (Linux)
- Configure shared library PCRE (Linux)
- Linux system boot process detail (Linux)
- Linux remote landing system (Linux)
- Oracle 11g dataguard main library backup and recovery to the test environment in one database error (Database)
- Using RAID in Linux: Create a RAID 5 (Linux)
- Linux cd command Detailed (Linux)
- GAMIT baseline solution using batch were counted (Linux)
- CentOS6.5 install SVN & visual management tools iF.SVNAdmin (Server)
- Linux NIC driver and version information (Linux)
- DB2 table space is redirected to restore the database combat (Database)
- Linux Command Tutorial: Ubuntu apt-get command (Linux)
- Eclipse improve the efficiency of good habits (Programming)
- Efficient Linux Shell - Shell special characters Summary (Linux)
- Gnu Linux - Ubuntu System Clean-term consolidation (Linux)
- How to convert images, audio and video formats on Ubuntu (Linux)
- 20 open source / commercial Linux server management control panel (Server)
- Ubuntu 13.04 configure MyEclipse 10.7 Environment (Linux)
- Ubuntu Apache virtual host configuration (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.