Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Nginx logging client ip     - Easily solve the MySQL database connection error too many (Database)

- Why not use the ifconfig command under RedHat Linux 5 (Linux)

- NIC configuration parameters under Linux (Linux)

- How to install the client sqlplus under linux (Database)

- GCC and gfortran write MEX program (Matlab2012a) under Ubuntu 14.04 (Programming)

- To install Xen in Ubuntu 12.04 (Linux)

- Use Android Studio and Gradle packaged multi-version APK (Programming)

- Glibc support encryption by modifying the DNS (Programming)

- curl Usage: Being the first site header and status codes (Server)

- How to install Hadoop on CentOS7 (Server)

- Linux Apache server security (Linux)

- Ubuntu 12.04 commonly use shortcuts finishing Share (Linux)

- Linux non-graphical interface to install Oracle Database (Database)

- Java Prototype Pattern (Programming)

- Node.JS different ways to install under Ubuntu 15.04 (Linux)

- How to Use Nmap security scanner tool on Linux (Linux)

- Oracle Client + PL SQL Developer enables remote access to the Oracle database (Database)

- Linux system started to learn: Teaches you install Fedora 22 on VirtualBox (Linux)

- Acquaintance C ++: the most simple C ++ program (Programming)

- The basic principles of AIX system security (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.
- Scala REPL Shell call (Programming)
- Generators and iterators in Python (Programming)
- Linux dmidecode command detail (Linux)
- Talking about the shortcomings and deficiencies of the firewall (Linux)
- MySQL full-index scan bug (Database)
- Installed in the desktop version of Ubuntu Unity Tweak Tool (Linux)
- Ceph distributed storage system is installed on a CentOS 7.1 (Server)
- Android recyclerview cardview (Programming)
- Linux security settings Notes (Linux)
- php performance monitoring module XHProf (Linux)
- JITwatch installation under Linux (Linux)
- CentOS7 virtual machine starts appear Permission denied (Linux)
- df show disk space usage (Linux)
- About MongoDB query method according to fuzzy field (Database)
- NIC configuration parameters under Linux (Linux)
- Linux Getting Started tutorial: XWindow what (Linux)
- MySQL Statistics (Database)
- Android annotation support (Support Annotations) (Programming)
- Hadoop + Zookeeper NameNode achieve high availability (Server)
- Configuring Android NDK development environment for Mac OS X (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.